hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11393) Revert HADOOP_PREFIX, go back to HADOOP_HOME
Date Wed, 30 Mar 2016 02:17:25 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-11393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217252#comment-15217252
] 

Akira AJISAKA commented on HADOOP-11393:
----------------------------------------

Thanks [~aw] for the update! I have one question: where is the definition of deprecate_env_var?
Am I missing something?
{code:title=hadoop-config.sh}
deprecate_env_var HADOOP_PREFIX HADOOP_HOME
{code}

> Revert HADOOP_PREFIX, go back to HADOOP_HOME
> --------------------------------------------
>
>                 Key: HADOOP-11393
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11393
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts, tracing
>    Affects Versions: 3.0.0
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>         Attachments: HADOOP-11393-00.patch, HADOOP-11393.01.patch, HADOOP-11393.02.patch,
HADOOP-11393.03.patch, HADOOP-11393.04.patch, HADOOP-11393.05.patch
>
>
> Today, Windows and parts of the Hadoop source code still use HADOOP_HOME.  The switch
to HADOOP_PREFIX back in 0.21 or so didn't really accomplish what it was intended to do and
only helped confuse the situation.
> _HOME is a much more standard suffix and is, in fact, used for everything in Hadoop except
for the top level project home.  I think it would be beneficial to use HADOOP_HOME in the
shell code as the Official(tm) variable, still honoring HADOOP_PREFIX if it is set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message