You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Bharati <bh...@mparallelo.com> on 2012/11/13 06:47:21 UTC

machine.jsp

Hi,
I am new to hadoop.
I am trying to use

for (StatisticsCollector.TimeWindow window : tracker.getStatistics(). collector.DEFAULT_COLLECT_WINDOWS) { JobTrackerStatistics.TaskTrackerStat ttStat = tracker.getStatistics(). getTaskTrackerStat(tt.getTrackerName()); out.println("</td><td>" + ttStat.totalTasksStat.getValues(). get(window).getValue()); out.println("</td><td>" + ttStat.succeededTasksStat.getValues(). get(window).getValue()); }
Just as used in machines.jsp.  It throws an exception. I am surely missing something.
How I can get the total number of tasks and total number of task succeeded.
Thanks,
Bharati