[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sandy Ryza updated MAPREDUCE-5113:
----------------------------------

    Description: 
After MAPREDUCE-1888, with a java mapper or reducer, StreamJob doesn't respect 
stream.map.output/stream.reduce.output when setting a job's output key/value 
classes, even if these configs are explicitly set by the user.


As MAPREDUCE-1888 is not in branch-1, this change is only needed in hadoop 2.

  was:
After MAPREDUCE-1888, with a java mapper or reducer, StreamJob doesn't respect 
stream.map.output/stream.reduce.output to set a job's output key/value classes.


unless they are specified in the streaming command line.  If the configs aren't 
specified in either of these places, the streaming defaults (Text) no longer 
kick in, and the global default LongWritable is used.

This can cause jobs/output writers that are expecting Text to fail.

    
> Streaming input/output types are ignored with java mapper/reducer
> -----------------------------------------------------------------
>
>                 Key: MAPREDUCE-5113
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5113
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 2.0.2-alpha
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>         Attachments: HADOOP-9300-1.patch, HADOOP-9300-2.patch, 
> HADOOP-9300-2.patch, HADOOP-9300-2.patch, HADOOP-9300-3.patch, 
> HADOOP-9300.patch, HADOOP-9300.patch, MAPREDUCE-5113.patch
>
>
> After MAPREDUCE-1888, with a java mapper or reducer, StreamJob doesn't 
> respect stream.map.output/stream.reduce.output when setting a job's output 
> key/value classes, even if these configs are explicitly set by the user.
> As MAPREDUCE-1888 is not in branch-1, this change is only needed in hadoop 2.

--
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