hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Attila Pados (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4052) Windows eclipse cannot submit job from Windows client to Linux/Unix Hadoop cluster.
Date Wed, 04 Dec 2013 14:18:39 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13838918#comment-13838918

Attila Pados commented on MAPREDUCE-4052:

I checked the patches here, i was curious about alternative solutions to the similar (or same)
problem with 2.2.0.
However, i missed the point in either the patches or in the problem description, that the
java call from the shell script included the right $JAVA_HOME for linux cluster, or it was
%JAVA_HOME% as i have experienced on 2.2.0 version?

(I didn't investigated the case with 0.23.x at all, i have downloaded only the 2.2.0 source
and binary, so probably there are more differences between the processes)

> Windows eclipse cannot submit job from Windows client to Linux/Unix Hadoop cluster.
> -----------------------------------------------------------------------------------
>                 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, 2.2.0
>         Environment: client on the Windows, the the cluster on the suse
>            Reporter: xieguiming
>            Assignee: xieguiming
>         Attachments: MAPREDUCE-4052-0.patch, MAPREDUCE-4052.patch
> when I use the eclipse on the windows to submit the job. and the applicationmaster throw
the exception:
> 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 exit.
> The reasion is :
> class Apps addToEnvironment function, use the
> private static final String SYSTEM_PATH_SEPARATOR =
>       System.getProperty("path.separator");
> and will result the MRApplicationMaster classpath use the ";" separator.
> I suggest that nodemanger do the replace.

This message was sent by Atlassian JIRA

View raw message