[
https://issues.apache.org/jira/browse/MAPREDUCE-3344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146265#comment-13146265
]
Hudson commented on MAPREDUCE-3344:
-----------------------------------
Integrated in Hadoop-Hdfs-0.23-Build #70 (See
[https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/70/])
Merge -r 1198909:1198910 from trunk to branch-0.23. Fixes: MAPREDUCE-3344.
tomwhite :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1198914
Files :
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
*
/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Reducer.java
> o.a.h.mapreduce.Reducer since 0.21 blindly casts to
> ReduceContext.ValueIterator
> -------------------------------------------------------------------------------
>
> Key: MAPREDUCE-3344
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3344
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 0.21.0, 0.22.0, 0.23.0, 0.24.0, 0.23.1
> Reporter: Brock Noland
> Assignee: Brock Noland
> Fix For: 0.24.0, 0.23.1
>
> Attachments: MAPREDUCE-3344-1.patch
>
>
> 0.21 mapreduce.Reducer introduced a blind cast to
> ReduceContext.ValueIterator. There should an instanceof check around this
> block to ensure we don't throw a CastClassException:
> {code}
> // If a back up store is used, reset it
> ((ReduceContext.ValueIterator)
> (context.getValues().iterator())).resetBackupStore();
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira