Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 1396 invoked from network); 2 Mar 2010 01:40:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Mar 2010 01:40:34 -0000 Received: (qmail 16238 invoked by uid 500); 2 Mar 2010 01:40:31 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 16201 invoked by uid 500); 2 Mar 2010 01:40:30 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 16193 invoked by uid 99); 2 Mar 2010 01:40:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Mar 2010 01:40:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Mar 2010 01:40:30 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3F5F9234C4A8 for ; Tue, 2 Mar 2010 01:40:10 +0000 (UTC) Message-ID: <1687602884.47491267494010258.JavaMail.jira@brutus.apache.org> Date: Tue, 2 Mar 2010 01:40:10 +0000 (UTC) From: "Chad Metcalf (JIRA)" To: common-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-6605) Improve JAVA_HOME detection and handling in hadoop-config MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Improve JAVA_HOME detection and handling in hadoop-config --------------------------------------------------------- Key: HADOOP-6605 URL: https://issues.apache.org/jira/browse/HADOOP-6605 Project: Hadoop Common Issue Type: Improvement Affects Versions: 0.20.2 Reporter: Chad Metcalf Assignee: Chad Metcalf JAVA_HOME can be set in hadoop-env.sh and hadoop-config.sh should respect this. hadoop-config will source hadoop-env after it determines a config directory. If JAVA_HOME still isn't set, it will try to guess one from a list of Linux usual locations. If one still isn't set it will quit with a verbose error message. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.