hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amareshwari Sriramadasu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1888) Streaming overrides user given output key and value types.
Date Mon, 05 Jul 2010 05:03:50 GMT

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

Amareshwari Sriramadasu commented on MAPREDUCE-1888:
----------------------------------------------------

Patch looks good.
A couple of mumak tests failed with NoClassDefFoundError, they passed on my local machine.
TestSimulatorDeterministicReplay failed because of MAPREDUCE-1834.
Will check this in.

> 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, 1888.v4.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