[
https://issues.apache.org/jira/browse/HADOOP-12116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600130#comment-14600130
]
Allen Wittenauer commented on HADOOP-12116:
-------------------------------------------
bq. if HADOOP_HOME is set to the old version of Hadoop but the current hdfs
script is from the new version
Why are you ending up in this, IMO, completely broken state? In other words,
why are you running the new script on top of the old dir layout? There's no
guarantees that will work and it will *definitely* break if you do this from
2.x->3.x.
> Fix unrecommended syntax usages in hadoop/hdfs/yarn script for cygwin in
> branch-2
> ---------------------------------------------------------------------------------
>
> Key: HADOOP-12116
> URL: https://issues.apache.org/jira/browse/HADOOP-12116
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Li Lu
> Assignee: Li Lu
> Attachments: HADOOP-12116-branch-2.001.patch
>
>
> We're using syntax like "if $cygwin; then" which may be errorounsly evaluated
> into true if cygwin is unset. We need to fix this in branch-2.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)