Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 EF0C410B38 for ; Tue, 4 Jun 2013 22:55:20 +0000 (UTC) Received: (qmail 1101 invoked by uid 500); 4 Jun 2013 22:55:20 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 1071 invoked by uid 500); 4 Jun 2013 22:55:20 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 1062 invoked by uid 99); 4 Jun 2013 22:55:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 22:55:20 +0000 Date: Tue, 4 Jun 2013 22:55:20 +0000 (UTC) From: "Josh Rosen (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-8717) JAVA_HOME detected in hadoop-config.sh under OS X does not work 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/HADOOP-8717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13675382#comment-13675382 ] Josh Rosen commented on HADOOP-8717: ------------------------------------ I just ran into this same issue with Hadoop 2.0.4-alpha on OS X 10.8.3. > JAVA_HOME detected in hadoop-config.sh under OS X does not work > --------------------------------------------------------------- > > Key: HADOOP-8717 > URL: https://issues.apache.org/jira/browse/HADOOP-8717 > Project: Hadoop Common > Issue Type: Bug > Components: conf > Environment: OS: Darwin 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64 > java version "1.6.0_33" > Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720) > Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode) > Reporter: Jianbin Wei > Priority: Minor > Fix For: 3.0.0 > > Attachments: HADOOP-8717.patch, HADOOP-8717.patch, HADOOP-8717.patch, HADOOP-8717.patch > > > After setting up a single node hadoop on mac, copy some text file to it and run > $ hadoop jar ./share/hadoop/mapreduce/hadoop-mapreduce-examples-3.0.0-SNAPSHOT.jar wordcount /file.txt output > It reports > 12/08/21 15:32:18 INFO Job.java:mapreduce.Job:1265: Running job: job_1345588312126_0001 > 12/08/21 15:32:22 INFO Job.java:mapreduce.Job:1286: Job job_1345588312126_0001 running in uber mode : false > 12/08/21 15:32:22 INFO Job.java:mapreduce.Job:1293: map 0% reduce 0% > 12/08/21 15:32:22 INFO Job.java:mapreduce.Job:1306: Job job_1345588312126_0001 failed with state FAILED due to: Application application_1345588312126_0001 failed 1 times due to AM Container for appattempt_1345588312126_0001_000001 exited with exitCode: 127 due to: > .Failing this attempt.. Failing the application. > 12/08/21 15:32:22 INFO Job.java:mapreduce.Job:1311: Counters: 0 > $ cat /tmp/logs/application_1345588312126_0001/container_1345588312126_0001_01_000001/stderr > /bin/bash: /bin/java: No such file or directory > The detected JAVA_HOME is not used somehow. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira