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

Li Lu commented on HADOOP-12116:
--------------------------------

Hi [~aw], I agree with you that in the use case, mixing the new script with old 
home dir may be problematic. We're fixing them right now. Meanwhile, the 
problem exposed here is valid since we need to conservatively treat unset 
$cygwin as false and not triggering the branch? 

> 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)

Reply via email to