Ver Fonte

Merge -r 638735:638736 from trunk to 0.16 branch. Fixes HADOOP-2978.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.16@638738 13f79535-47bb-0310-9956-ffa450edef68
Devaraj Das há 17 anos atrás
pai
commit
ab208234fe
2 ficheiros alterados com 4 adições e 1 exclusões
  1. 3 0
      CHANGES.txt
  2. 1 1
      src/java/org/apache/hadoop/mapred/Counters.java

+ 3 - 0
CHANGES.txt

@@ -11,6 +11,9 @@ Release 0.16.2 - Unreleased
     the block file, changes file position (if needed) and flushes all by
     the block file, changes file position (if needed) and flushes all by
     itself. The PacketResponder thread does not flush block file. (dhruba)
     itself. The PacketResponder thread does not flush block file. (dhruba)
 
 
+    HADOOP-2978. Fixes the JobHistory log format for counters.
+    (Runping Qi via ddas)
+
 Release 0.16.1 - 2008-03-13
 Release 0.16.1 - 2008-03-13
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 1 - 1
src/java/org/apache/hadoop/mapred/Counters.java

@@ -530,7 +530,7 @@ public class Counters implements Writable, Iterable<Counters.Group> {
         buffer.append(group.getDisplayName());
         buffer.append(group.getDisplayName());
         buffer.append('.');
         buffer.append('.');
         buffer.append(counter.getDisplayName());
         buffer.append(counter.getDisplayName());
-        buffer.append('=');
+        buffer.append(':');
         buffer.append(counter.getCounter());
         buffer.append(counter.getCounter());
       }
       }
     }
     }