[ https://issues.apache.org/jira/browse/HADOOP-12451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992765#comment-14992765 ]
Vinod Kumar Vavilapalli commented on HADOOP-12451: -------------------------------------------------- [~kasha], looked at the original patch for HADOOP-11464, I think there are more bugs: - We should also fix the following line? {code}+HADOOP_OPTS="$HADOOP_OPTS -Dhadoop.home.dir=$HADOOP_HOME"{code} If it isn't cygwin, it is supposed to point hadoop.home.dir to HADOOP_PREFIX as it was doing before. - The same fix (your patch and the change I suggest above) definitely needs to also happen in hadoop-yarn-project/hadoop-yarn/bin/yarn? > 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-12451-branch-2.addendum-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)