FAQ
MR-279: Add a getCounter(Enum) method to the Counters interface
---------------------------------------------------------------

Key: MAPREDUCE-2633
URL: https://issues.apache.org/jira/browse/MAPREDUCE-2633
Project: Hadoop Map/Reduce
Issue Type: Improvement
Components: mrv2
Environment: All
Reporter: Josh Wills
Priority: Minor


I'm fixing a few TODOs I came across in TaskAttemptImpl.java related to the fact that the MRv2 Counters interface don't expose a getCounter(Enum) method for accessing a Counter using the enum's class as the group name and the enum's value as the name of the counter.

Will add the patch momentarily.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

  • Sharad Agarwal (JIRA) at Jul 7, 2011 at 6:30 am
    [ https://issues.apache.org/jira/browse/MAPREDUCE-2633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Sharad Agarwal resolved MAPREDUCE-2633.
    ---------------------------------------

    Resolution: Fixed
    Hadoop Flags: [Reviewed]

    I just committed this. Thanks Josh!
    MR-279: Add a getCounter(Enum) method to the Counters interface
    ---------------------------------------------------------------

    Key: MAPREDUCE-2633
    URL: https://issues.apache.org/jira/browse/MAPREDUCE-2633
    Project: Hadoop Map/Reduce
    Issue Type: Improvement
    Components: mrv2
    Environment: All
    Reporter: Josh Wills
    Assignee: Josh Wills
    Priority: Minor
    Attachments: MAPREDUCE-2633.patch


    I'm fixing a few TODOs I came across in TaskAttemptImpl.java related to the fact that the MRv2 Counters interface don't expose a getCounter(Enum) method for accessing a Counter using the enum's class as the group name and the enum's value as the name of the counter.
    Will add the patch momentarily.
    --
    This message is automatically generated by JIRA.
    For more information on JIRA, see: http://www.atlassian.com/software/jira

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmapreduce-dev @
categorieshadoop
postedJun 30, '11 at 5:14p
activeJul 7, '11 at 6:30a
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Sharad Agarwal (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase