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 D29A69E58 for ; Mon, 5 Mar 2012 08:15:23 +0000 (UTC) Received: (qmail 96961 invoked by uid 500); 5 Mar 2012 08:15:23 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 96900 invoked by uid 500); 5 Mar 2012 08:15:23 -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 96892 invoked by uid 99); 5 Mar 2012 08:15:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 08:15:23 +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; Mon, 05 Mar 2012 08:15:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2B296849D for ; Mon, 5 Mar 2012 08:15:00 +0000 (UTC) Date: Mon, 5 Mar 2012 08:15:00 +0000 (UTC) From: "Bhallamudi Venkata Siva Kamesh (Updated) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <516194456.21669.1330935300178.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <822161199.6144.1330578726736.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MAPREDUCE-3952) In MR2, when Total input paths to process == 1, CombinefileInputFormat.getSplits() returns 0 split. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-3952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bhallamudi Venkata Siva Kamesh updated MAPREDUCE-3952: ------------------------------------------------------ Status: Patch Available (was: Open) > In MR2, when Total input paths to process == 1, CombinefileInputFormat.getSplits() returns 0 split. > --------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-3952 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3952 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Reporter: Zhenxiao Luo > Attachments: MAPREDUCE-3952-1.patch, MAPREDUCE-3952.patch > > > Hive get unexpected result when using MR2(When using MR1, always get expected result). > In MR2, when Total input paths to process == 1, CombinefileInputFormat.getSplits() returns 0 split. > The calling code in Hive, in Hadoop23Shims.java: > InputSplit[] splits = super.getSplits(job, numSplits); > this get splits.length == 0. > In MR1, everything goes fine, the calling code in Hive, in Hadoop20Shims.java: > CombineFileSplit[] splits = (CombineFileSplit[]) super.getSplits(job, numSplits); > this get splits.length == 1. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira