You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Matt Foley (Reopened) (JIRA)" <ji...@apache.org> on 2011/10/01 21:08:34 UTC

[jira] [Reopened] (HADOOP-7388) Remove definition of HADOOP_HOME and HADOOP_PREFIX from hadoop-env.sh.template

     [ https://issues.apache.org/jira/browse/HADOOP-7388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley reopened HADOOP-7388:
--------------------------------


Changing the resolution of this issue to "dup", since the work was done in another jira (HADOOP-7599) and this jira number (HADOOP-7388) is not in CHANGES.txt.
                
> 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
>             Fix For: 0.20.205.0, 0.23.0
>
>         Attachments: HADOOP-7388.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira