You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Tom White (Updated) (JIRA)" <ji...@apache.org> on 2011/11/18 20:10:51 UTC

[jira] [Updated] (MAPREDUCE-3433) Finding counters by legacy group name returns empty counters

     [ https://issues.apache.org/jira/browse/MAPREDUCE-3433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated MAPREDUCE-3433:
---------------------------------

    Attachment: MAPREDUCE-3433.patch

Here's a patch including a test which fails without the fix. Run 

svn mv hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapred/TestCounters.java hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred

before applying.
                
> Finding counters by legacy group name returns empty counters
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-3433
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3433
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: client, mrv2
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: MAPREDUCE-3433.patch
>
>
> Attempting to find counters with a legacy group name (e.g. org.apache.hadoop.mapred.Task$Counter rather than the new org.apache.hadoop.mapreduce.TaskCounter) returns empty counters. This causes TestStreamingCombiner to fail when run with YARN.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira