hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaideep dhok <jdd...@gmail.com>
Subject Question about job tracker instrumentation
Date Sat, 25 Apr 2009 05:27:56 GMT
Hi all,
I want to obtain counters of a task after it's completion to do some
bookkeeping. I am using the JobTrackerInstrumentation class (a
subclass actually) to get notifications about task completions. In the
completeMap and completeReduce method of my class, I am obtaining the
task counters as follows:
// tid is TaskAttemptID, passed as an argument
Counters taskCounters =tracker.getTaskStatus(tid).getCounters();
My question is, does the job tracker store status/counters of a
particular task even after its completion? More specifically, how  can
I obtain counters of a task using just the TaskAttemptID?


View raw message