You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2008/11/12 00:02:11 UTC
[Hadoop Wiki] Trivial Update of "HadoopStreaming" by AndrewHitchcock
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by AndrewHitchcock:
http://wiki.apache.org/hadoop/HadoopStreaming
The comment on the change is:
fixed spelling error
------------------------------------------------------------------------------
* '''Use shell scripts rather than commands''' - The "-file shellMapper.sh" part isn't entirely necessary. You can simply use a clause like "-mapper 'sed | grep | awk'" or some such but complicated quoting is can introduce bugs. Wrapping the job in a shell script eliminates some of these issues.
- * '''Don't expect shebangs to work''' - If you're going to run other scripts from inside your shell script, don't execpt a line like #!/bin/python to work. To be certain that things will work, run the script directly like "grep somethingInteresting | '''''perl''' perlScript'' | sort | uniq -c"
+ * '''Don't expect shebangs to work''' - If you're going to run other scripts from inside your shell script, don't expect a line like #!/bin/python to work. To be certain that things will work, run the script directly like "grep somethingInteresting | '''''perl''' perlScript'' | sort | uniq -c"
== See Also ==
* HowToDebugMapReducePrograms