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 "Devaraj K (JIRA)" <ji...@apache.org> on 2012/05/22 06:17:41 UTC

[jira] [Updated] (MAPREDUCE-4123) ./mapred groups gives NoClassDefFoundError

     [ https://issues.apache.org/jira/browse/MAPREDUCE-4123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Devaraj K updated MAPREDUCE-4123:
---------------------------------

    Status: Patch Available  (was: Open)

I have provided patch to fix this NoClassDefFoundError. There is another JIRA MAPREDUCE-4268 exist for supporting this protocol.
                
> ./mapred groups gives NoClassDefFoundError
> ------------------------------------------
>
>                 Key: MAPREDUCE-4123
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4123
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 2.0.0, 3.0.0
>            Reporter: Nishan Shetty
>            Assignee: Devaraj K
>            Priority: Critical
>         Attachments: MAPREDUCE-4123.patch
>
>
> 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.

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