Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.21.0
-
None
Description
The following code in StreamJob.java overrides user given output key and value types.
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());
Attachments
Attachments
Issue Links
- duplicates
-
MAPREDUCE-1138 Erroneous output folder handling in streaming testcases
- Resolved