You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Brian Loss (JIRA)" <ji...@apache.org> on 2016/08/25 16:18:21 UTC

[jira] [Resolved] (HADOOP-10934) AbstractCounters.readFields doesn't clear "other" groups

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

Brian Loss resolved HADOOP-10934.
---------------------------------
    Resolution: Duplicate

It appears that MAPREDUCE-6199 fixes took care of this issue.

> AbstractCounters.readFields doesn't clear "other" groups
> --------------------------------------------------------
>
>                 Key: HADOOP-10934
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10934
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.2.0, 2.3.0, 2.4.0, 2.4.1
>            Reporter: Brian Loss
>
> The readFields method of AbstractCounters clears the "framework and fs groups" map {{fgroups}}, but does not clear the "other groups" map {{groups}}. If a Counters object is used as the key or value record reader, it will aggregate groups over all records rather than just returning the counters for the current record.  In all likelihood, in addition to providing incorrect data, the counter limit will also be exceeded as it is checked each time through readFields.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org