hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Joseph Evans (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-3521) Hadoop Streaming ignores unknown commands
Date Thu, 08 Dec 2011 22:13:40 GMT
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

        

Mime
View raw message