Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 01624639C for ; Tue, 7 Jun 2011 16:57:20 +0000 (UTC) Received: (qmail 29918 invoked by uid 500); 7 Jun 2011 16:57:19 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 29889 invoked by uid 500); 7 Jun 2011 16:57:19 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 29880 invoked by uid 99); 7 Jun 2011 16:57:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2011 16:57:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2011 16:57:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C3413103BD5 for ; Tue, 7 Jun 2011 16:56:58 +0000 (UTC) Date: Tue, 7 Jun 2011 16:56:58 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <379188946.817.1307465818796.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1640528.2727.1307420279016.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-2571) CombineFileInputFormat.getSplits throws a java.lang.ArrayStoreException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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