Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-1867

Remove unused methods in org.apache.hadoop.streaming.StreamUtil

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0
    • Component/s: contrib/streaming
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      There are many unused methods in org.apache.hadoop.streaming.StreamUtil. They should be removed from the class for maintainability.

      1. MAPREDUCE-1867.patch
        36 kB
        Tom White
      2. patch-1867.txt
        17 kB
        Amareshwari Sriramadasu
      3. patch-1867-1.txt
        34 kB
        Amareshwari Sriramadasu

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Patch Available Patch Available Open Open
        35d 21h 9m 1 Amareshwari Sriramadasu 21/Jul/10 08:48
        Open Open Patch Available Patch Available
        3h 14m 2 Amareshwari Sriramadasu 21/Jul/10 09:55
        Patch Available Patch Available Resolved Resolved
        97d 9h 10m 1 Tom White 26/Oct/10 19:05
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #643 (See https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk/643/)

        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #643 (See https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk/643/ )
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #523 (See https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/523/)

        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #523 (See https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/523/ )
        Tom White made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Hide
        Tom White added a comment -

        I've just committed this. Thanks Amareshwari!

        Show
        Tom White added a comment - I've just committed this. Thanks Amareshwari!
        Hide
        Amareshwari Sriramadasu added a comment -

        Thanks Tom for updating the patch. I ran test-patch and ant test. There are some core test failures, which are failing in trunk also.

        Show
        Amareshwari Sriramadasu added a comment - Thanks Tom for updating the patch. I ran test-patch and ant test. There are some core test failures, which are failing in trunk also.
        Tom White made changes -
        Attachment MAPREDUCE-1867.patch [ 12458022 ]
        Hide
        Tom White added a comment -

        This patch fell out of date. I've updated it. The streaming tests all pass.

        Show
        Tom White added a comment - This patch fell out of date. I've updated it. The streaming tests all pass.
        Amareshwari Sriramadasu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Amareshwari Sriramadasu made changes -
        Attachment patch-1867-1.txt [ 12450046 ]
        Hide
        Amareshwari Sriramadasu added a comment -

        Patch is updated to trunk.
        Also moved test related utility functions from StreamUtil to UtilTest.java

        Show
        Amareshwari Sriramadasu added a comment - Patch is updated to trunk. Also moved test related utility functions from StreamUtil to UtilTest.java
        Amareshwari Sriramadasu made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Assignee Amareshwari Sriramadasu [ amareshwari ]
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12447126/patch-1867.txt
        against trunk revision 955068.

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

        -1 tests included. The patch doesn't appear to include any new or modified tests.
        Please justify why no new tests are needed for this patch.
        Also please list what manual steps were performed to verify this patch.

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

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 findbugs. The patch does not introduce any new Findbugs warnings.

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

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

        -1 contrib tests. The patch failed contrib unit tests.

        Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/246/testReport/
        Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/246/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/246/artifact/trunk/build/test/checkstyle-errors.html
        Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/246/console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12447126/patch-1867.txt against trunk revision 955068. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. -1 contrib tests. The patch failed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/246/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/246/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/246/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/246/console This message is automatically generated.
        Amareshwari Sriramadasu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Amareshwari Sriramadasu made changes -
        Field Original Value New Value
        Attachment patch-1867.txt [ 12447126 ]
        Hide
        Amareshwari Sriramadasu added a comment -

        Patch removes unused methods in StreamUtil and PathFinder. Also, fixes some javac warnings in Environment.java

        Show
        Amareshwari Sriramadasu added a comment - Patch removes unused methods in StreamUtil and PathFinder. Also, fixes some javac warnings in Environment.java
        Amareshwari Sriramadasu created issue -

          People

          • Assignee:
            Amareshwari Sriramadasu
            Reporter:
            Amareshwari Sriramadasu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development