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

Sandy Ryza commented on MAPREDUCE-5113:
---------------------------------------

Updated patch removes some unused imports and, in order not to change existing 
behavior, does not override input/output key/value classes if the 
mapper/reducer is a regular java one.
                
> Streaming fails to set output key class when reducer is java class
> ------------------------------------------------------------------
>
>                 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
>
>
> In an effort to avoid overwriting user configs (MAPREDUCE-1888), StreamJob 
> doesn't 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.

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