Its not possible since the slave will don't have knowledge of other slaves , so though master started the job , it may be running in other slaves . So in program if your running jobs using Job Conf then you can use it to track the status of the job . Other wise you can dig into JobTracker WebUI code to see how exactly interacting with master to get the info
On Thu, Jun 16, 2011 at 12:27 PM, bikash sharma <[email protected]>wrote: > Hi -- Is there a way, by which a slave can get a trigger when a Hadoop jobs > finished in master? > The use case is as follows: > I need to monitor the cpu, memory utilization utility automatically. For > which, I need to know the timestamp to start and stop the sar utility > corresponding to the start and finish of Hadoop job at master. > Its simple to do at master, since the Hadoop job runs there, but how we do > for slaves? > > Thanks. > Bikash >
