MAPREDUCE-6975. Logging task counters. Contributed by Prabhu Joseph.
(cherry picked from commit 61bbdc511e4e98c11a05d7c3bc01f3e971adbe13)
This commit is contained in:
parent
85130d80fe
commit
01912d18d5
@ -1130,6 +1130,18 @@ public void done(TaskUmbilicalProtocol umbilical,
|
||||
sendLastUpdate(umbilical);
|
||||
//signal the tasktracker that we are done
|
||||
sendDone(umbilical);
|
||||
LOG.info("Final Counters for " + taskId + ": " +
|
||||
getCounters().toString());
|
||||
/**
|
||||
* File System Counters
|
||||
* FILE: Number of bytes read=0
|
||||
* FILE: Number of bytes written=146972
|
||||
* ...
|
||||
* Map-Reduce Framework
|
||||
* Map output records=6
|
||||
* Map output records=6
|
||||
* ...
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user