Reputation: 21
I am working on a Monitoring Tool for Hadoop. I need to get the currently running jobtracker. How can I get that?
Upvotes: 2
Views: 4260
Reputation: 11
I believe the closest you can get at this time is using the JobClient class: here
This will allow you to see running jobs, or walk all jobs.
Upvotes: 1
Reputation: 39893
Check out the <hadoopdir>/conf/mapred-site.xml
configuration file.
In this file, you should find a <property>
that has a <name>
of mapred.job.tracker
:
<property>
<name>mapred.job.tracker</name>
<value>node5:12345</value>
<property>
This tells you what node it is running on and what port it is running on.
If you are looking for any specific information, please elaborate in your original question.
Upvotes: 2