Dustin Cote created MAPREDUCE-6604: -------------------------------------- Summary: Show quoting examples that do not work in streaming docs Key: MAPREDUCE-6604 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6604 Project: Hadoop Map/Reduce Issue Type: Improvement Components: documentation Reporter: Dustin Cote Priority: Minor
The hadoop streaming docs [here|https://wiki.apache.org/hadoop/HadoopStreaming] should be improved to include examples where "complicated quoting is can introduce bugs". The line including this text should read something like: {quote} 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 can introduce bugs. As an example, "-mapper 'grep "text"'" will not work. Wrapping the job in a shell script eliminates some of these issues, but quoting should be avoided where possible. {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)