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

Chris Nauroth commented on HADOOP-10040:
----------------------------------------

There isn't really a patch or a code review involved in fixing this.  Just to 
give everyone a heads-up though, I'm planning on running the following script 
in the Subversion repos for trunk, branch-2, and branch-2.2.  This will convert 
to CRLF line endings for Windows-related files.  I'll wait a few hours before 
doing this in case anyone has questions on the change.

{code}
for EXT in bat cmd vcxproj sln; do svn propset -R svn:eol-style CRLF *.$EXT; 
done
{code}


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