[ 
https://issues.apache.org/jira/browse/MAPREDUCE-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13511471#comment-13511471
 ] 

Mariappan Asokan commented on MAPREDUCE-4847:
---------------------------------------------

Hi Peng Li,
  Your proposal seems reasonable to me.  On Windows, you can specify the 
invoker as "cmd /c" to invoke DOS commands.  You may want to ask for opinion 
from other developers in the community.

-- Asokan
                
> Command Parsing in Hadoop Streaming
> -----------------------------------
>
>                 Key: MAPREDUCE-4847
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4847
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: contrib/streaming
>            Reporter: Peng Lei
>              Labels: features
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Hadoop streaming parse the mapper and reducer commands by itself, this is not 
> a good choice, when I write a complex mapper/reducer script inline, such as 
> 'perl -ne ...', it don't work.
> An alternative way is to send the command to the shell, simply create new 
> process(sh -c "command_and_args"), this not also simplize the streaming code, 
> but also improve its capability!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to