hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Gummadi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-1888) Streaming overrides user given output key and value types.
Date Thu, 01 Jul 2010 17:21:52 GMT

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

Ravi Gummadi updated MAPREDUCE-1888:
------------------------------------

          Status: Patch Available  (was: Reopened)
    Hadoop Flags:   (was: [Reviewed])

> 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