Mariappan Asokan created MAPREDUCE-5034:
-------------------------------------------

             Summary: 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

Reply via email to