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

Chris Nauroth updated HADOOP-11966:
-----------------------------------
       Resolution: Pending Closed
    Fix Version/s: 2.7.1
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

The HDFS unit test failures are unrelated, because this patch changes shell 
script code only.

I committed this to branch-2 and branch-2.7.  Haohui and Sanjay, thank you for 
reviewing.

> Variable cygwin is undefined in hadoop-config.sh when executed through 
> hadoop-daemon.sh.
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-11966
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11966
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 2.7.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Critical
>             Fix For: 2.7.1
>
>         Attachments: HADOOP-11966-branch-2.001.patch
>
>
> HADOOP-11464 reinstated support for running the bash scripts through Cygwin.  
> The logic involves setting a {{cygwin}} flag variable to indicate if the 
> script is executing through Cygwin.  The flag is set in all of the 
> interactive scripts: {{hadoop}}, {{hdfs}}, {{yarn}} and {{mapred}}.  The flag 
> is not set through hadoop-daemon.sh though.  This can cause an erroneous 
> overwrite of {{HADOOP_HOME}} and {{JAVA_LIBRARY_PATH}} inside 
> hadoop-config.sh.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to