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 "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2015/11/04 19:42:27 UTC
[jira] [Comment Edited] (HADOOP-12451) Setting HADOOP_HOME
explicitly should be allowed
[ https://issues.apache.org/jira/browse/HADOOP-12451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14945465#comment-14945465 ]
Karthik Kambatla edited comment on HADOOP-12451 at 11/4/15 6:41 PM:
--------------------------------------------------------------------
The committed patch prevents HADOOP_HOME from being overwritten.
In addition to this, HADOOP-11464 changes the behavior in yet another way. It actually sets HADOOP_HOME whereas previously it was left empty. We realized we were relying on HADOOP_HOME not being set at all, and it broke a bunch of things.
Should we change the patch to set HADOOP_HOME only if it is cygwin. Per [~aw]'s comment [here|https://issues.apache.org/jira/browse/HADOOP-12456?focusedCommentId=14940643&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14940643], HADOOP_HOME is supported only on Windows.
was (Author: kasha):
The committed patch avoids HADOOP_HOME is not overwritten.
In addition to this, HADOOP-11464 changes the behavior in yet another way. It actually sets HADOOP_HOME whereas previously it was left empty. We realized we were relying on HADOOP_HOME not being set at all, and it broke a bunch of things.
Should we change the patch to set HADOOP_HOME only if it is cygwin. Per [~aw]'s comment [here|https://issues.apache.org/jira/browse/HADOOP-12456?focusedCommentId=14940643&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14940643], HADOOP_HOME is supported only on Windows.
> Setting HADOOP_HOME explicitly should be allowed
> ------------------------------------------------
>
> Key: HADOOP-12451
> URL: https://issues.apache.org/jira/browse/HADOOP-12451
> Project: Hadoop Common
> Issue Type: Bug
> Components: scripts
> Affects Versions: 2.7.1
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Priority: Blocker
> Fix For: 2.7.2
>
> Attachments: HADOOP-12451-branch-2.1.patch
>
>
> HADOOP-11464 reinstates cygwin support. In the process, it sets HADOOP_HOME explicitly in hadoop-config.sh without checking if it has already been set.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)