Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-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 B20441863E for ; Wed, 1 Jul 2015 05:35:04 +0000 (UTC) Received: (qmail 50382 invoked by uid 500); 1 Jul 2015 05:35:04 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 50357 invoked by uid 500); 1 Jul 2015 05:35:04 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 50347 invoked by uid 99); 1 Jul 2015 05:35:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2015 05:35:04 +0000 Date: Wed, 1 Jul 2015 05:35:04 +0000 (UTC) From: "Prasanth Jayachandran (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-11102) ReaderImpl: getColumnIndicesFromNames does not work for ACID tables 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-11102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14609584#comment-14609584 ] Prasanth Jayachandran commented on HIVE-11102: ---------------------------------------------- Can you replace the string concatenation and log line with LOG.warn("Cannot find field for: " + colName + " in " + fieldNames); which will do the same thing. Otherwise looks good +1. > ReaderImpl: getColumnIndicesFromNames does not work for ACID tables > ------------------------------------------------------------------- > > Key: HIVE-11102 > URL: https://issues.apache.org/jira/browse/HIVE-11102 > Project: Hive > Issue Type: Bug > Components: File Formats > Affects Versions: 1.3.0, 1.2.1, 2.0.0 > Reporter: Gopal V > Assignee: Sergey Shelukhin > Attachments: HIVE-11102.patch > > > ORC reader impl does not estimate the size of ACID data files correctly. > {code} > Caused by: java.lang.IndexOutOfBoundsException: Index: 0 > at java.util.Collections$EmptyList.get(Collections.java:3212) > at org.apache.hadoop.hive.ql.io.orc.OrcProto$Type.getSubtypes(OrcProto.java:12240) > at org.apache.hadoop.hive.ql.io.orc.ReaderImpl.getColumnIndicesFromNames(ReaderImpl.java:651) > at org.apache.hadoop.hive.ql.io.orc.ReaderImpl.getRawDataSizeOfColumns(ReaderImpl.java:634) > at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$SplitGenerator.populateAndCacheStripeDetails(OrcInputFormat.java:938) > at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$SplitGenerator.call(OrcInputFormat.java:847) > at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$SplitGenerator.call(OrcInputFormat.java:713) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)