hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xieguiming (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-4052) Windows eclpise can not submit the job
Date Thu, 22 Mar 2012 05:02:24 GMT
Windows eclpise can not submit the job

                 Key: MAPREDUCE-4052
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4052
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: job submission
    Affects Versions: 0.23.1
         Environment: client on the Windows, the the cluster on the suse
            Reporter: xieguiming

when I use the eclipse on the windows to submit the job. and the applicationmaster throw the
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/mapreduce/v2/app/MRAppMaster
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.mapreduce.v2.app.MRAppMaster
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.apache.hadoop.mapreduce.v2.app.MRAppMaster.  Program will

The reasion is :
class Apps addToEnvironment function, use the
private static final String SYSTEM_PATH_SEPARATOR =

and will result the MRApplicationMaster classpath use the ";" separator.

I suggest that nodemanger do the replace.

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


View raw message