[
https://issues.apache.org/jira/browse/HADOOP-7388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Yang updated HADOOP-7388:
------------------------------
Attachment: HADOOP-7388.patch
Removed HADOOP_HOME and HADOOP_PREFIX for 0.20-security branch.
> 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
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira