[
https://issues.apache.org/jira/browse/MAPREDUCE-4129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ahmed Radwan updated MAPREDUCE-4129:
------------------------------------
Attachment: MAPREDUCE-4129.patch
Attaching a patch addressing this issue. The patch modifies the behavior to
only write the log message the first time the oldGroupName is found, instead of
every time getGroup(..) is called.
I don't think we need a test case for this change as it is a straightforward
change in message logging.
> Lots of unneeded counters log messages
> --------------------------------------
>
> Key: MAPREDUCE-4129
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4129
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.1
> Reporter: Ahmed Radwan
> Assignee: Ahmed Radwan
> Fix For: 0.23.2
>
> Attachments: MAPREDUCE-4129.patch
>
>
> Huge number of the same WARN messages are written. We only need to write each
> distinct message once. The messages are of the form:
> {code}
> 2012-04-05 03:55:04,166 WARN mapreduce.Counters: Group {oldGroup} is
> deprecated. Use {newGroup} instead
> {code}
--
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