I also worked on this several months ago,
If I don't have a wrong memory, the involved files should be:
the most interesting functions should be JobTracker.heartbeat(), and
TaskTracker.transmitHeartbeat(), I think you will also need to add more
member variables in TaskTrackerStatus.java
take care about the write() and read() in TaskTrackerStatus.java,
On Sat, Mar 19, 2011 at 1:59 AM, bikash sharma <[EMAIL PROTECTED]>wrote:
> For my research project, I need to modify Hadoop JobTracker to collect some
> statistics of TaskTracker nodes.
> For example, I would like to piggy-back heartbeat messages sent from
> TaskTrackers to JobTracker with some extra information related to the
> resource utilization and other statistics.
> I am able to checkout Hadoop common code base and build in Eclipse.
> Specifically, which files should I look at, and after the above mentioned
> modification, how to collect the statistics?
School of Software,5501
Shanghai Jiao Tong University
E-Mail: [EMAIL PROTECTED]