diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Task.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Task.java index f9bd30bb3d..730f4ee90f 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Task.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Task.java @@ -1174,6 +1174,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 + * ... + */ } /**