hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andres Perez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5937) hadoop/mapred job -history <history_file> shows the counters twice in the output.
Date Fri, 08 Apr 2016 17:58:25 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15232603#comment-15232603
] 

Andres Perez commented on MAPREDUCE-5937:
-----------------------------------------

The thing is that TestCounters#testLegacyGetGroupsNames is actually expecting to find duplicates
(because is expecting to find the group name + the legacy name of the same group), so modifying
AbstractCounters#getGroupNames so it doesn't return duplicates will always make that tests
fail.

> hadoop/mapred job -history <history_file> shows the counters twice in the output.
> ---------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5937
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5937
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 2.2.0, 2.7.2
>            Reporter: Jinghui Wang
>            Assignee: Andres Perez
>              Labels: BB2015-05-TBR
>         Attachments: MAPREDUCE-5937-branch-2.7-02.patch, MAPREDUCE-5937-branch-2.7.2.002.patch,
MAPREDUCE-5937.patch, job_history_cli_sample.out
>
>
> HiistoryView#printCounters method uses AbstractCounter#getGroupNames, which includes
legacy groups can cause duplicates on CLI output.
> See attached example output.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message