diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt index 91ffd6c1c2..1f74eb5400 100644 --- a/hadoop-mapreduce-project/CHANGES.txt +++ b/hadoop-mapreduce-project/CHANGES.txt @@ -52,6 +52,9 @@ Trunk (unreleased changes) BUG FIXES + MAPREDUCE-4149. [Rumen] Rumen fails to parse certain counter + strings. (ravigummadi) + MAPREDUCE-4083. [Gridmix] NPE in cpu emulation. (amarrk) MAPREDUCE-4087. [Gridmix] GenerateDistCacheData job of Gridmix can diff --git a/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/HistoryEventEmitter.java b/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/HistoryEventEmitter.java index a8a7fcbed0..2103709f54 100644 --- a/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/HistoryEventEmitter.java +++ b/hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/HistoryEventEmitter.java @@ -80,6 +80,8 @@ protected static Counters parseCounters(String counters) } counters = counters.replace("\\.", "\\\\."); + counters = counters.replace("\\\\{", "\\{"); + counters = counters.replace("\\\\}", "\\}"); counters = counters.replace("\\\\(", "\\("); counters = counters.replace("\\\\)", "\\)"); counters = counters.replace("\\\\[", "\\[");