hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravigumm...@apache.org
Subject svn commit: r1327461 - /hadoop/common/trunk/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/HistoryEventEmitter.java
Date Wed, 18 Apr 2012 11:59:38 GMT
Author: ravigummadi
Date: Wed Apr 18 11:59:38 2012
New Revision: 1327461

URL: http://svn.apache.org/viewvc?rev=1327461&view=rev
Log:
MAPREDUCE-4149. [Rumen] Rumen fails to parse certain counter strings. (ravigummadi)

Modified:
    hadoop/common/trunk/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/HistoryEventEmitter.java

Modified: hadoop/common/trunk/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/HistoryEventEmitter.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/HistoryEventEmitter.java?rev=1327461&r1=1327460&r2=1327461&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/HistoryEventEmitter.java
(original)
+++ hadoop/common/trunk/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/HistoryEventEmitter.java
Wed Apr 18 11:59:38 2012
@@ -80,6 +80,8 @@ abstract class HistoryEventEmitter {
     }
 
     counters = counters.replace("\\.", "\\\\.");
+    counters = counters.replace("\\\\{", "\\{");
+    counters = counters.replace("\\\\}", "\\}");
     counters = counters.replace("\\\\(", "\\(");
     counters = counters.replace("\\\\)", "\\)");
     counters = counters.replace("\\\\[", "\\[");



Mime
View raw message