Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 6256 invoked from network); 2 Mar 2010 01:58:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Mar 2010 01:58:28 -0000 Received: (qmail 30206 invoked by uid 500); 2 Mar 2010 01:58:26 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 30183 invoked by uid 500); 2 Mar 2010 01:58:26 -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 30175 invoked by uid 99); 2 Mar 2010 01:58:26 -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:58:26 +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:58:25 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D51BB29A0017 for ; Tue, 2 Mar 2010 01:58:05 +0000 (UTC) Message-ID: <1299259337.47901267495085872.JavaMail.jira@brutus.apache.org> Date: Tue, 2 Mar 2010 01:58:05 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6604) Improve HADOOP_HOME detection and handling in hadoop-config In-Reply-To: <1014627972.47391267493765810.JavaMail.jira@brutus.apache.org> 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-6604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839963#action_12839963 ] Allen Wittenauer commented on HADOOP-6604: ------------------------------------------ This patch breaks if any hadoop core jar is in .. rather than the one we care about. > 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 > Attachments: HADOOP-6604.patch > > > 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.