[
https://issues.apache.org/jira/browse/HADOOP-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598729#action_12598729
]
lohit vijayarenu commented on HADOOP-2876:
------------------------------------------
Looks good. Should we default to IdentityMapper if no mapper is specified in
streaming?
Few things about test case
- It would be good to change testCommandLineNoMapper() to testCommandOptions()
so that tomorrow if we add more arguments checking, one could just update this
method
- Test has this line {{fail("Required Argument: -mapper");}} It would be good
to get back return status from job.go() as failure and then print this message.
> Streaming does not checks whether -mapper option is provided or not
> --------------------------------------------------------------------
>
> Key: HADOOP-2876
> URL: https://issues.apache.org/jira/browse/HADOOP-2876
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/streaming
> Affects Versions: 0.17.0
> Reporter: Karam Singh
> Priority: Minor
> Attachments: hadoop-2876.txt
>
>
> Ran hadoop command as -:
> bin/hadoop jar contrib/streaming/hadoop-*-streaming.jar -input in -output out
> (Here no mapper is provided using -mapper option).
> Stream job will start and map of that job fails.
> Streaming should check about the presence of -mapper option and throw proper
> error is it not there.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.