Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA7E41064D for ; Mon, 23 Dec 2013 16:35:02 +0000 (UTC) Received: (qmail 18410 invoked by uid 500); 23 Dec 2013 16:34:06 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 18296 invoked by uid 500); 23 Dec 2013 16:33:56 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 18256 invoked by uid 99); 23 Dec 2013 16:33:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Dec 2013 16:33:52 +0000 Date: Mon, 23 Dec 2013 16:33:52 +0000 (UTC) From: "Attila Pados (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-4052) Windows eclipse cannot submit job from Windows client to Linux/Unix Hadoop cluster. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13855737#comment-13855737 ] Attila Pados commented on MAPREDUCE-4052: ----------------------------------------- Hi, as i found, the patch attached to this jira ticket, is not working for 2.2.0, Hadoop2 GA. i made another jira issue: https://issues.apache.org/jira/browse/MAPREDUCE-5655 and also added a patch that fixes it. Please keep in mind, that this is generaly a workaround. Attila > 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 (v6.1.5#6160)