소스 검색

HADOOP-2978. Fixes the JobHistory log format for counters. Contributed by Runping Qi.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@638736 13f79535-47bb-0310-9956-ffa450edef68
Devaraj Das 17 년 전
부모
커밋
eb2edfb2d2
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 0
      CHANGES.txt
  2. 1 1
      src/java/org/apache/hadoop/mapred/Counters.java

+ 3 - 0
CHANGES.txt

@@ -291,6 +291,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());
       }
       }
     }
     }