hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Trivial Update of "HadoopStreaming" by AndrewHitchcock
Date Tue, 11 Nov 2008 23:02:11 GMT
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

Mime
View raw message