On Thu, Oct 28, 2010 at 2:05 PM, Ted Yu <[email protected]> wrote: > Take a look at FSNamesystem.heartbeatCheck()
That's for HDFS, correct? For JobTracker -- TaskTracker heartbeats, you need to check JobTracker.heartbeat(...) method. It sends back a HeartBeatResponse object which is generated based on the details recieved (TT status, etc.), which you can modify to add in your details perhaps? > > On Wed, Oct 27, 2010 at 5:21 PM, Shen LI <[email protected]> wrote: >> >> Hi, thank you very much for your reply. >> I want to modify 0.20.2 >> >> On Wed, Oct 27, 2010 at 7:12 PM, Ted Yu <[email protected]> wrote: >>> >>> Which hadoop version do you want to modify ? >>> >>> On Wed, Oct 27, 2010 at 2:28 PM, Shen LI <[email protected]> wrote: >>>> >>>> Hi, >>>> I want to modify the heartbeat message to carry more information from >>>> worker nodes to master node, and also want to modify the return message of >>>> heartbeat. Do you know which file and function should I modify? >>>> Thanks a lot, >>>> Shen >> > > -- Harsh J www.harshj.com
