Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 476 invoked from network); 2 Mar 2010 01:36:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Mar 2010 01:36:31 -0000 Received: (qmail 9981 invoked by uid 500); 2 Mar 2010 01:36:28 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 9928 invoked by uid 500); 2 Mar 2010 01:36:28 -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 9917 invoked by uid 99); 2 Mar 2010 01:36:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Mar 2010 01:36:28 +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:36:26 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C984829A0012 for ; Tue, 2 Mar 2010 01:36:05 +0000 (UTC) Message-ID: <483326435.47401267493765824.JavaMail.jira@brutus.apache.org> Date: Tue, 2 Mar 2010 01:36:05 +0000 (UTC) From: "Chad Metcalf (JIRA)" To: common-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-6604) Improve HADOOP_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 X-Virus-Checked: Checked by ClamAV on apache.org Improve HADOOP_HOME detection and handling in hadoop-config ----------------------------------------------------------- Key: HADOOP-6604 URL: https://issues.apache.org/jira/browse/HADOOP-6604 Project: Hadoop Common Issue Type: Improvement Affects Versions: 0.20.2 Reporter: Chad Metcalf Assignee: Chad Metcalf Priority: Minor If HADOOP_HOME is not set by the time hadoop-config is sourced we should try to guess it. Generally speaking hadoop-config.sh is in bin and HADOOP_HOME should generally be .. from there. Additionally we can do some verification of this guess by looking for jars in HADOOP_HOME. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.