hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandy Ryza (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9300) Streaming fails to set output key class when reducer is java class
Date Wed, 13 Feb 2013 00:49:12 GMT

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

Sandy Ryza updated HADOOP-9300:
-------------------------------

    Description: 
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.

  was:When a hadoop streaming job is run with a java class as the reducer, or no reducer specified
(which defaults to IdentityReducer), the output key and value classes are not set.  This can
cause a job to fail down the line.

    
> Streaming fails to set output key class when reducer is java class
> ------------------------------------------------------------------
>
>                 Key: HADOOP-9300
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9300
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 2.0.2-alpha
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>
> 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

Mime
View raw message