Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4696510B06 for ; Wed, 11 Sep 2013 17:12:57 +0000 (UTC) Received: (qmail 24667 invoked by uid 500); 11 Sep 2013 17:12:54 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 24395 invoked by uid 500); 11 Sep 2013 17:12:53 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 24120 invoked by uid 500); 11 Sep 2013 17:12:52 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 24114 invoked by uid 99); 11 Sep 2013 17:12:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Sep 2013 17:12:52 +0000 Date: Wed, 11 Sep 2013 17:12:52 +0000 (UTC) From: "Yin Huai (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HIVE-4868) When reading an ORC file by an MR job, some Mappers may not be able to process data in some cases 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/HIVE-4868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yin Huai resolved HIVE-4868. ---------------------------- Resolution: Duplicate > When reading an ORC file by an MR job, some Mappers may not be able to process data in some cases > ------------------------------------------------------------------------------------------------- > > Key: HIVE-4868 > URL: https://issues.apache.org/jira/browse/HIVE-4868 > Project: Hive > Issue Type: Improvement > Reporter: Yin Huai > Assignee: Yin Huai > > Let's say a stripe of an ORC file is 256 MB and we set the split size for an MR job to 64 MB. Right now, splits are created based on byte ranges. > Here is an example: > {code} > |<-The start of a stripe |<-The end of a stripe > v v > |---------------------------------------| > ^ ^ > |<- The start of a split |<- The end of a split > {\code} > So, for some Mappers, it is possible that there is no start of a stripe within the byte range of a split. Those Mappers will process 0 record. We can improve how splits are created for ORC. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira