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 "Li Lu (JIRA)" <ji...@apache.org> on 2015/06/24 19:44:04 UTC

[jira] [Updated] (HADOOP-12116) Fix unrecommended syntax usages in hadoop/hdfs/yarn script for cygwin in branch-2

     [ https://issues.apache.org/jira/browse/HADOOP-12116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Li Lu updated HADOOP-12116:
---------------------------
    Attachment: HADOOP-12116-branch-2.001.patch

In this patch I enforced $cygwin to be true to trigger cygwin related env settings. In this way if $cygwin is unset we will not trigger those branches. 

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