[ https://issues.apache.org/jira/browse/MAPREDUCE-7072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16450360#comment-16450360 ]
Robert Kanter commented on MAPREDUCE-7072: ------------------------------------------ I committed this to trunk, but it fails to compile on branch-2. [~wilfreds], can you create a branch-2 version of the patch? {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project hadoop-mapreduce-client-core: Compilation failure: Compilation failure: [ERROR] /Users/rkanter/dev/hadoop-git/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/jobhistory/TestHistoryViewerPrinter.java:[958,8] cannot find symbol [ERROR] symbol: variable succeededMaps [ERROR] location: variable job of type org.apache.hadoop.mapreduce.jobhistory.JobHistoryParser.JobInfo [ERROR] /Users/rkanter/dev/hadoop-git/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/jobhistory/TestHistoryViewerPrinter.java:[959,8] cannot find symbol [ERROR] symbol: variable succeededReduces [ERROR] location: variable job of type org.apache.hadoop.mapreduce.jobhistory.JobHistoryParser.JobInfo [ERROR] -> [Help 1] {noformat} > mapred job -history prints duplicate counter in human output > ------------------------------------------------------------ > > Key: MAPREDUCE-7072 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-7072 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: client > Affects Versions: 3.0.0 > Reporter: Wilfred Spiegelenburg > Assignee: Wilfred Spiegelenburg > Priority: Major > Attachments: MAPREDUCE-7072.01.patch, MAPREDUCE-7072.02.patch > > > 'mapred job -history' command prints duplicate entries for counters only for > the human output format. It does not do this for the JSON format. > mapred job -history /user/history/somefile.jhist -format human > {code} > .... > |Job Counters |Total megabyte-seconds taken by all map tasks|0 |0 |268,288,000 > ... > |Job Counters |Total megabyte-seconds taken by all map tasks|0 |0 |268,288,000 > .... > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org