You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Bochun Bai (JIRA)" <ji...@apache.org> on 2011/06/07 06:17:58 UTC

[jira] [Created] (MAPREDUCE-2571) CombineFileInputFormat.getSplits throws a java.lang.ArrayStoreException

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