CombineFileInputFormat.getSplits throws a java.lang.ArrayStoreException
-----------------------------------------------------------------------

                 Key: MAPREDUCE-2571
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2571
             Project: Hadoop Map/Reduce
          Issue Type: Bug
    Affects Versions: 0.21.0
            Reporter: Bochun Bai
            Priority: Blocker


The getSplits methods of 
  org.apache.hadoop.mapred.lib.CombineFileInputFormat 
not work.

...mapred.lib.CombineFileInputFormat(0.20-style) is a proxy for 
...mapreduce.lib.input.CombineFileInputFormat(0.21-style)

The 0.21-style getSplits returns 
ArrayList<...mapreduce.lib.input.CombineFileSplit>
and the 0.20-style delegation calls toArray(...mapred.InputSplit[])

The ...mapreduce.lib.input.CombineFileSplit is based on ...mapreduce.InputSplit
and ...mapred.InputSplit is a interface, not a super-class of 
...mapreduce.InputSplit



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to