Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha, 3.0.0
    • Fix Version/s: 2.0.3-alpha
    • Component/s: mrv2
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Incompatible change, Reviewed

      Description

      linux-168:/home/v2/hadoop-3.0.0-SNAPSHOT/bin # ./mapred groups
      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/mapred/tools/GetGroups
      Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.mapred.tools.GetGroups
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
      Could not find the main class: org.apache.hadoop.mapred.tools.GetGroups. Program will exit.

      1. MAPREDUCE-4123.patch
        0.4 kB
        Devaraj K
      2. MAPREDUCE-4123-1.patch
        2 kB
        Devaraj K

        Activity

        Hide
        Devaraj K added a comment -

        I have provided patch to fix this NoClassDefFoundError. There is another JIRA MAPREDUCE-4268 exist for supporting this protocol.

        Show
        Devaraj K added a comment - I have provided patch to fix this NoClassDefFoundError. There is another JIRA MAPREDUCE-4268 exist for supporting this protocol.
        Hide
        Hadoop QA added a comment -

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

        +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 javac. The applied patch does not increase the total number of javac compiler warnings.

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

        +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/2409//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2409//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/12528551/MAPREDUCE-4123.patch against trunk revision . +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 javac. The applied patch does not increase the total number of javac compiler warnings. +1 javadoc. The javadoc tool did not generate any warning messages. +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/2409//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2409//console This message is automatically generated.
        Hide
        Devaraj K added a comment -
        -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.
        

        It is script change hence no tests needed and verified manually.

        Show
        Devaraj K added a comment - -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. It is script change hence no tests needed and verified manually.
        Hide
        Ahmed Radwan added a comment -

        lgtm +1

        Show
        Ahmed Radwan added a comment - lgtm +1
        Hide
        Vinod Kumar Vavilapalli added a comment -

        Devaraj, MAPREDUCE-4268/YARN-53 is in. Can you update the patch to just spit out a warning for "mapred groups" just like the case of mradmin? Tx.

        Show
        Vinod Kumar Vavilapalli added a comment - Devaraj, MAPREDUCE-4268 / YARN-53 is in. Can you update the patch to just spit out a warning for "mapred groups" just like the case of mradmin? Tx.
        Hide
        Devaraj K added a comment -

        Thanks Vinod. I have updated the patch as per the above comment.

        Show
        Devaraj K added a comment - Thanks Vinod. I have updated the patch as per the above comment.
        Hide
        Hadoop QA added a comment -

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

        +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 javac. The applied patch does not increase the total number of javac compiler warnings.

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

        +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/2903//testReport/
        Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2903//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/12547504/MAPREDUCE-4123-1.patch against trunk revision . +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 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . The javadoc tool did not generate any warning messages. +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/2903//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2903//console This message is automatically generated.
        Hide
        Devaraj K added a comment -
        -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.
        

        No tests needed for this since it is a script change. I have verified the commands manually.

        Show
        Devaraj K added a comment - -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. No tests needed for this since it is a script change. I have verified the commands manually.
        Hide
        Siddharth Seth added a comment -

        +1. Committing.

        Show
        Siddharth Seth added a comment - +1. Committing.
        Hide
        Siddharth Seth added a comment -

        Committed to trunk and branch-2. Thanks Devaraj.

        Show
        Siddharth Seth added a comment - Committed to trunk and branch-2. Thanks Devaraj.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #2807 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2807/)
        MAPREDUCE-4123. Remove the 'mapred groups' command, which is no longer supported. (Contributed by Devaraj K) (Revision 1393775)

        Result = SUCCESS
        sseth : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1393775
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2807 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2807/ ) MAPREDUCE-4123 . Remove the 'mapred groups' command, which is no longer supported. (Contributed by Devaraj K) (Revision 1393775) Result = SUCCESS sseth : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1393775 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #2869 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2869/)
        MAPREDUCE-4123. Remove the 'mapred groups' command, which is no longer supported. (Contributed by Devaraj K) (Revision 1393775)

        Result = SUCCESS
        sseth : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1393775
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2869 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2869/ ) MAPREDUCE-4123 . Remove the 'mapred groups' command, which is no longer supported. (Contributed by Devaraj K) (Revision 1393775) Result = SUCCESS sseth : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1393775 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #2830 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2830/)
        MAPREDUCE-4123. Remove the 'mapred groups' command, which is no longer supported. (Contributed by Devaraj K) (Revision 1393775)

        Result = FAILURE
        sseth : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1393775
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2830 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2830/ ) MAPREDUCE-4123 . Remove the 'mapred groups' command, which is no longer supported. (Contributed by Devaraj K) (Revision 1393775) Result = FAILURE sseth : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1393775 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1185 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1185/)
        MAPREDUCE-4123. Remove the 'mapred groups' command, which is no longer supported. (Contributed by Devaraj K) (Revision 1393775)

        Result = SUCCESS
        sseth : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1393775
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1185 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1185/ ) MAPREDUCE-4123 . Remove the 'mapred groups' command, which is no longer supported. (Contributed by Devaraj K) (Revision 1393775) Result = SUCCESS sseth : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1393775 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1216 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1216/)
        MAPREDUCE-4123. Remove the 'mapred groups' command, which is no longer supported. (Contributed by Devaraj K) (Revision 1393775)

        Result = SUCCESS
        sseth : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1393775
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1216 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1216/ ) MAPREDUCE-4123 . Remove the 'mapred groups' command, which is no longer supported. (Contributed by Devaraj K) (Revision 1393775) Result = SUCCESS sseth : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1393775 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred

          People

          • Assignee:
            Devaraj K
            Reporter:
            Nishan Shetty
          • Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development