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 1389C61F5 for ; Mon, 13 Jun 2011 22:38:10 +0000 (UTC) Received: (qmail 36550 invoked by uid 500); 13 Jun 2011 22:38:08 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 36477 invoked by uid 500); 13 Jun 2011 22:38:08 -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 36295 invoked by uid 99); 13 Jun 2011 22:38:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 22:38:08 +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; Mon, 13 Jun 2011 22:38:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5A480413431 for ; Mon, 13 Jun 2011 22:37:47 +0000 (UTC) Date: Mon, 13 Jun 2011 22:37:47 +0000 (UTC) From: "Eric Yang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <9085317.460.1308004667366.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HADOOP-7388) Remove definition of HADOOP_HOME and HADOOP_PREFIX from hadoop-env.sh.template MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Remove definition of HADOOP_HOME and HADOOP_PREFIX from hadoop-env.sh.template ------------------------------------------------------------------------------ Key: HADOOP-7388 URL: https://issues.apache.org/jira/browse/HADOOP-7388 Project: Hadoop Common Issue Type: Improvement Environment: Java 6, RHEL 5.5 Reporter: Eric Yang Assignee: Eric Yang Priority: Trivial The file structure layout proposed in HADOOP-6255 was designed to remove the need of using HADOOP_HOME environment to locate hadoop bits. The file structure layout should be able to map to /usr or system directories, therefore HADOOP_HOME is renamed to HADOOP_PREFIX to be more concise. HADOOP_PREFIX should not be exported to the user. If the user use hadoop-setup-single-node.sh or hadoop-setup-conf.sh to configure hadoop, the current scripts put HADOOP_PREFIX/HADOOP_HOME in hadoop-env.sh. The config template generation code should remove reference of HADOOP_PREFIX/HADOOP_HOME from hadoop-env.sh. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira