hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amareshwari Sriramadasu (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (MAPREDUCE-1888) Streaming overrides user given output key and value types.
Date Wed, 30 Jun 2010 07:56:51 GMT

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

Amareshwari Sriramadasu reopened MAPREDUCE-1888:
------------------------------------------------


I just reverted the commit to fix the corner case.

> Streaming overrides user given output key and value types.
> ----------------------------------------------------------
>
>                 Key: MAPREDUCE-1888
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1888
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.21.0
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Ravi Gummadi
>             Fix For: 0.22.0
>
>         Attachments: 1888.patch, 1888.v1.patch, 1888.v2.patch, 1888.v3.patch
>
>
> The following code in StreamJob.java overrides user given output key and value types.
> {code}
>     idResolver.resolve(conf.get(StreamJobConfig.MAP_OUTPUT,
>         IdentifierResolver.TEXT_ID));
>     conf.setClass(StreamJobConfig.MAP_OUTPUT_READER_CLASS,
>       idResolver.getOutputReaderClass(), OutputReader.class);
>     job.setMapOutputKeyClass(idResolver.getOutputKeyClass());
>     job.setMapOutputValueClass(idResolver.getOutputValueClass());
>     
>     idResolver.resolve(conf.get(StreamJobConfig.REDUCE_OUTPUT,
>         IdentifierResolver.TEXT_ID));
>     conf.setClass(StreamJobConfig.REDUCE_OUTPUT_READER_CLASS,
>       idResolver.getOutputReaderClass(), OutputReader.class);
>     job.setOutputKeyClass(idResolver.getOutputKeyClass());
>     job.setOutputValueClass(idResolver.getOutputValueClass());
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message