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

Hudson commented on HADOOP-10040:
---------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #4597 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/4597/])
HADOOP-10040. svn propset to native line endings on Windows files. Contributed 
by Chris Nauroth. (cnauroth: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1531983)
* /hadoop/common/trunk/.gitattributes
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop.cmd
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/start-all.cmd
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/stop-all.cmd
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.cmd
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/native/native.sln
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/native/native.vcxproj
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/winutils/libwinutils.vcxproj
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/winutils/winutils.sln
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/winutils/winutils.vcxproj
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs-config.cmd
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs.cmd
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.cmd
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/stop-dfs.cmd
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred-config.cmd
* /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred.cmd
* /hadoop/common/trunk/hadoop-mapreduce-project/conf/mapred-env.cmd
* /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/test/bin/cat.cmd
* /hadoop/common/trunk/hadoop-tools/hadoop-streaming/src/test/bin/xargs_cat.cmd
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/start-yarn.cmd
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/stop-yarn.cmd
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn-config.cmd
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/conf/yarn-env.cmd


> hadoop.cmd in UNIX format and would not run by default on Windows
> -----------------------------------------------------------------
>
>                 Key: HADOOP-10040
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10040
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Yingda Chen
>            Assignee: Chris Nauroth
>             Fix For: 3.0.0, 2.2.1
>
>
> The hadoop.cmd currently checked in into hadoop-common is in UNIX format, 
> same as most of other src files. However, the hadoop.cmd is meant to be used 
> on Windows only, the fact that it is in UNIX format makes it unrunnable as is 
> on Window platform.
> An exception shall be made on hadoop.cmd (and other cmd files for what 
> matters) to make sure they are in DOS format, for them to be runnable as is 
> when checked out from source repository.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to