[
https://issues.apache.org/jira/browse/MAPREDUCE-5034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587719#comment-13587719
]
Sandy Ryza commented on MAPREDUCE-5034:
---------------------------------------
Which version is this found in? There was an issue in MAPREDUCE-2264 that
looks very similar to this that was already discovered. Because of it the
original patch was reverted and replaced with an update.
> Class cast exception in MergeManagerImpl.java
> ---------------------------------------------
>
> Key: MAPREDUCE-5034
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5034
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: Mariappan Asokan
>
> When reduce side merge spills to disk, the following exception was thrown:
> org.apache.hadoop.mapreduce.task.reduce.MergeManagerImpl$CompressAwarePath
> cannot be cast to java.lang.Comparable at
> java.util.TreeMap.put(TreeMap.java:542) at
> java.util.TreeSet.add(TreeSet.java:238) at
> org.apache.hadoop.mapreduce.task.reduce.MergeManagerImpl.closeOnDiskFile(MergeManagerImpl.java:340)
> at
> org.apache.hadoop.mapreduce.task.reduce.MergeManagerImpl$InMemoryMerger.merge(MergeManagerImpl.java:495)
> at
> org.apache.hadoop.mapreduce.task.reduce.MergeThread.run(MergeThread.java:94)
> It looks like a bug introduced by MAPREDUCE-2264
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira