[
https://issues.apache.org/jira/browse/MAPREDUCE-2571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045535#comment-13045535
]
Todd Lipcon commented on MAPREDUCE-2571:
----------------------------------------
Patch looks pretty good. I'm not sure I follow why the main() and unquote()
methods are in the test case, though - they seem unrelated and unused by the
actual unit test, right?
> 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
> Attachments: MAPREDUCE-2571.patch
>
>
> 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