Hadoop Streaming ignores unknown commands
-----------------------------------------

                 Key: MAPREDUCE-3521
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3521
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv2
    Affects Versions: 0.23.0
            Reporter: Robert Joseph Evans
            Assignee: Robert Joseph Evans
            Priority: Minor


The hadoop streaming command will ignore any command line arguments to it.

{code}
hadoop jar streaming.jar -input input -output output -mapper cat -reducer cat 
ThisIsABadArgument
{code}

Works just fine.  This can mask issues where quotes were mistakenly missed like

{code}
hadoop jar streaming.jar -input input -output output -mapper xargs cat -reducer 
cat -archive someArchive.tgz
{code}

Streaming should fail if it encounters an unexpected command line parameter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to