MAPREDUCE-6975. Logging task counters. Contributed by Prabhu Joseph.
This commit is contained in:
parent
b6d8f87b8e
commit
61bbdc511e
@ -1174,6 +1174,18 @@ public void done(TaskUmbilicalProtocol umbilical,
|
|||||||
sendLastUpdate(umbilical);
|
sendLastUpdate(umbilical);
|
||||||
//signal the tasktracker that we are done
|
//signal the tasktracker that we are done
|
||||||
sendDone(umbilical);
|
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…
Reference in New Issue
Block a user