[
https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarek Jarcec Cecho updated MAPREDUCE-3542:
------------------------------------------
Attachment: MAPREDUCE-3542-name-fix.patch
I've provided fix to rename the backward compatible name to the original name
that is present in Hadoop 0.20 and Hadoop 1.0.3.
I've also checked linked Pig sources to see if this change won't break them.
They seems to have special classes for handling differences between hadoop
versions:
{code:title=shims/src/hadoop23/org/apache/pig/backend/hadoop/executionengine/shims/HadoopShims.java:83}
static public String getFsCounterGroupName() {
return "org.apache.hadoop.mapreduce.FileSystemCounter";
}
{code}
{code:title=shims/src/hadoop20/org/apache/pig/backend/hadoop/executionengine/shims/HadoopShims.java:85}
static public String getFsCounterGroupName() {
return "FileSystemCounters";
}
{code}
I therefore believe that this change will not affect pig.
> Support "FileSystemCounter" legacy counter group name for compatibility
> -----------------------------------------------------------------------
>
> Key: MAPREDUCE-3542
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3542
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 0.23.0
> Reporter: Tom White
> Assignee: Tom White
> Fix For: 0.23.1
>
> Attachments: MAPREDUCE-3542-name-fix.patch, MAPREDUCE-3542.patch
>
>
> The group name changed from "FileSystemCounter" to
> "org.apache.hadoop.mapreduce.FileSystemCounter", but we should support the
> old one for compatibility's sake. This came up in PIG-2347.
--
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