You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Dustin Cote (JIRA)" <ji...@apache.org> on 2016/01/11 17:32:39 UTC

[jira] [Created] (MAPREDUCE-6604) Show quoting examples that do not work in streaming docs

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)