[
https://issues.apache.org/jira/browse/MAPREDUCE-2633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061055#comment-13061055
]
Sharad Agarwal commented on MAPREDUCE-2633:
-------------------------------------------
currently org/apache/hadoop/mapreduce/v2/api/records/Counters.java is used only
internally. its ok go with Enum.
+1
> 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