You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Tom White (Created) (JIRA)" <ji...@apache.org> on 2011/12/13 22:39:32 UTC

[jira] [Created] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

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


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

        

[jira] [Commented] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171359#comment-13171359 ] 

Hudson commented on MAPREDUCE-3542:
-----------------------------------

Integrated in Hadoop-Common-0.23-Commit #300 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/300/])
    Merge -r 1213970:1213971 from trunk to branch-0.23. Fixes: MAPREDUCE-3542.

tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1215360
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/counters/AbstractCounters.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestCounters.java

                
> 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, 0.24.0
>
>         Attachments: 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

        

[jira] [Commented] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168825#comment-13168825 ] 

Hudson commented on MAPREDUCE-3542:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1490 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1490/])
    MAPREDUCE-3542. Support "FileSystemCounter" legacy counter group name for compatibility.

tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1213971
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/counters/AbstractCounters.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestCounters.java

                
> 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, 0.24.0
>
>         Attachments: 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

        

[jira] [Commented] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Arun C Murthy (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168803#comment-13168803 ] 

Arun C Murthy commented on MAPREDUCE-3542:
------------------------------------------

Thanks for taking this up Tom. I ran into this while fixing Pig unit tests.
                
> 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
>         Attachments: 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

        

[jira] [Commented] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169443#comment-13169443 ] 

Hudson commented on MAPREDUCE-3542:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #927 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/927/])
    MAPREDUCE-3542. Support "FileSystemCounter" legacy counter group name for compatibility.

tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1213971
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/counters/AbstractCounters.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestCounters.java

                
> 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, 0.24.0
>
>         Attachments: 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

        

[jira] [Commented] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171548#comment-13171548 ] 

Hudson commented on MAPREDUCE-3542:
-----------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #110 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/110/])
    Merge -r 1213970:1213971 from trunk to branch-0.23. Fixes: MAPREDUCE-3542.

tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1215360
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/counters/AbstractCounters.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestCounters.java

                
> 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, 0.24.0
>
>         Attachments: 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

        

[jira] [Commented] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171555#comment-13171555 ] 

Hudson commented on MAPREDUCE-3542:
-----------------------------------

Integrated in Hadoop-Mapreduce-0.23-Build #130 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/130/])
    Merge -r 1213970:1213971 from trunk to branch-0.23. Fixes: MAPREDUCE-3542.

tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1215360
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/counters/AbstractCounters.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestCounters.java

                
> 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, 0.24.0
>
>         Attachments: 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

        

[jira] [Commented] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171391#comment-13171391 ] 

Hudson commented on MAPREDUCE-3542:
-----------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #312 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/312/])
    Merge -r 1213970:1213971 from trunk to branch-0.23. Fixes: MAPREDUCE-3542.

tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1215360
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/counters/AbstractCounters.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestCounters.java

                
> 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, 0.24.0
>
>         Attachments: 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

        

[jira] [Commented] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168787#comment-13168787 ] 

Hadoop QA commented on MAPREDUCE-3542:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12507249/MAPREDUCE-3542.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    -1 javac.  The applied patch generated 2313 javac compiler warnings (more than the trunk's current 2311 warnings).

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1436//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1436//console

This message is automatically generated.
                
> 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
>         Attachments: 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

        

[jira] [Updated] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Tom White (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated MAPREDUCE-3542:
---------------------------------

    Status: Patch Available  (was: Open)
    
> 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
>         Attachments: 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

        

[jira] [Commented] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168837#comment-13168837 ] 

Hudson commented on MAPREDUCE-3542:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1441 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1441/])
    MAPREDUCE-3542. Support "FileSystemCounter" legacy counter group name for compatibility.

tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1213971
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/counters/AbstractCounters.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestCounters.java

                
> 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, 0.24.0
>
>         Attachments: 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

        

[jira] [Commented] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Eli Collins (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168776#comment-13168776 ] 

Eli Collins commented on MAPREDUCE-3542:
----------------------------------------

+1 pending jenkins
                
> 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
>         Attachments: 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

        

[jira] [Commented] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171354#comment-13171354 ] 

Hudson commented on MAPREDUCE-3542:
-----------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #289 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/289/])
    Merge -r 1213970:1213971 from trunk to branch-0.23. Fixes: MAPREDUCE-3542.

tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1215360
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/counters/AbstractCounters.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestCounters.java

                
> 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, 0.24.0
>
>         Attachments: 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

        

[jira] [Commented] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168827#comment-13168827 ] 

Hudson commented on MAPREDUCE-3542:
-----------------------------------

Integrated in Hadoop-Common-trunk-Commit #1416 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1416/])
    MAPREDUCE-3542. Support "FileSystemCounter" legacy counter group name for compatibility.

tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1213971
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/counters/AbstractCounters.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestCounters.java

                
> 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, 0.24.0
>
>         Attachments: 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

        

[jira] [Commented] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169463#comment-13169463 ] 

Hudson commented on MAPREDUCE-3542:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk #894 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/894/])
    MAPREDUCE-3542. Support "FileSystemCounter" legacy counter group name for compatibility.

tomwhite : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1213971
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/counters/AbstractCounters.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestCounters.java

                
> 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, 0.24.0
>
>         Attachments: 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

        

[jira] [Commented] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13432987#comment-13432987 ] 

Jarek Jarcec Cecho commented on MAPREDUCE-3542:
-----------------------------------------------

Hi Guys,
I was investigating related issue in Sqoop  project(http://sqoop.apache.org/). Basically we are reporting number of written filesystem bytes back to the user and on Hadoop 0.23/2.x we're always getting 0. I've noticed that there was some refactorization in FileSystem counter related code and found this issue requesting backward compatibility. 

Included patch seems to be adding counter "FileSystemCounter":

{code:title=hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/counters/AbstractCounters.java:84}
legacyMap.put("FileSystemCounter", FileSystemCounter.class.getName());
{code}

But it appears that original name is "FileSystemCounters" (Notice the plural "s" at the end of name):

{code:title=src/mapred/org/apache/hadoop/mapred/Task.java:91 (0.20.2)}
protected static final String FILESYSTEM_COUNTER_GROUP = "FileSystemCounters";
{code}

{code:title=src/mapred/org/apache/hadoop/mapred/Task.java:109 (1.0.3)}
protected static final String FILESYSTEM_COUNTER_GROUP = "FileSystemCounters";
{code}

I therefore believe that this counter should be renamed in order to provide backward compatibility. I might fix this discrepancy in Sqoop, but I believe that other projects/users might also be affected and therefore it would be better to fix it in upstream. I wanted to reopen this ticket, but apparently I do not have enough privileges to do so. Could I ask anyone with proper privileges to do that or should I create new JIRA instead?

                
> 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.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

        

[jira] [Updated] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Tom White (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated MAPREDUCE-3542:
---------------------------------

    Attachment: MAPREDUCE-3542.patch

Simple patch with test case.
                
> 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
>         Attachments: 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

        

[jira] [Updated] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Tom White (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated MAPREDUCE-3542:
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.24.0
                   0.23.1
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

I've just committed this. (The two extra javac warnings were due to new method calls on the deprecated Counters class in the test.) 
                
> 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, 0.24.0
>
>         Attachments: 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

        

[jira] [Updated] (MAPREDUCE-3542) Support "FileSystemCounter" legacy counter group name for compatibility

Posted by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org>.
     [ 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