Yelp / mrjob

Run MapReduce jobs on Hadoop or Amazon Web Services
http://packages.python.org/mrjob/
Other
2.62k stars 587 forks source link

Windows line endings on setup/bootstrap scripts #1078

Closed coyotemarin closed 9 years ago

coyotemarin commented 9 years ago

(This based on Pull Request #1071.)

If you're on Windows, and you use the --setup or --bootstrap options, the setup/bootstrap scripts generated by mrjob will have windows line endings, which will confuse the (presumed to be UNIX) cluster where they run.

Note that if we're in local mode, it makes sense to use the local system's line endings.

coyotemarin commented 9 years ago

Fixed by #1110.