The current stable 0.20 does not export JMX metrics for the JobTracker :( However you can get at these stats via the JobClient. I have done this to produce graphs like the one shown below.
http://www.jointhegrid.com/hadoop-cacti-jtg-walk/running_job.jsp Package is here: http://www.jointhegrid.com/svn/hadoop-cacti-jtg/trunk/ >>It would be better if there is any document or API interface which describe >>this(all the JMX interfaces which is used to get metrics for all kinds of >>nodes). Amen brother. On Wed, Apr 14, 2010 at 5:05 AM, stan lee <[email protected]> wrote: > Currently I am trying to use JMX to collect metrics information, I can get > information successfully from namenode(NameNodeActivtyMBean). > > Also for jobTracker or TaskTracker(although it's common that they are same > with datanode), is there any Mbeans to be used to get corresponding > metrics(I know in Hadoop it has DataNodeActivityMBean.java related with > datanode)? Like the storage used percentage, left free space? > > > > It would be better if there is any document or API interface which describe > this(all the JMX interfaces which is used to get metrics for all kinds of > nodes). > > Thanks! > > StanLee >
