Return-Path: X-Original-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 444A5C1D7 for ; Wed, 16 May 2012 04:22:47 +0000 (UTC) Received: (qmail 9494 invoked by uid 500); 16 May 2012 04:22:46 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 8492 invoked by uid 500); 16 May 2012 04:22:43 -0000 Mailing-List: contact mapreduce-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-dev@hadoop.apache.org Delivered-To: mailing list mapreduce-dev@hadoop.apache.org Received: (qmail 7764 invoked by uid 99); 16 May 2012 04:22:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 04:22:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 04:22:36 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B7BA96630 for ; Wed, 16 May 2012 04:22:15 +0000 (UTC) Date: Wed, 16 May 2012 04:22:15 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: mapreduce-dev@hadoop.apache.org Message-ID: <2139004669.2458.1337142135753.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2042486601.55649.1336762490482.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (MAPREDUCE-4250) hadoop-config.sh missing variable exports, causes Yarn jobs to fail with ClassNotFoundException MRAppMaster 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-4250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Abdelnur resolved MAPREDUCE-4250. ------------------------------------------- Resolution: Fixed Fix Version/s: 2.0.1 Hadoop Flags: Reviewed Thanks Patrick. committed to trunk and branch-2. > hadoop-config.sh missing variable exports, causes Yarn jobs to fail with ClassNotFoundException MRAppMaster > ----------------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-4250 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4250 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: nodemanager > Reporter: Patrick Hunt > Assignee: Patrick Hunt > Fix For: 2.0.1 > > Attachments: MAPREDUCE-4250.patch > > > This is the MR side of HADOOP-8393 > If you start a pseudo distributed yarn using "start-yarn.sh" you need to specify exports for HADOOP_COMMON_HOME, HADOOP_HDFS_HOME, YARN_HOME, YARN_CONF_DIR, and HADOOP_MAPRED_HOME in hadoop-env.sh (or elsewhere), otherwise the spawned node manager will be missing > these in it's environment. This is due to start-yarn using yarn-daemons. With this fix it's possible to start yarn (etc...) with only HADOOP_CONF_DIR specified in the environment. Took some time to track down this failure, so seems worthwhile to fix. -- 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