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 52E8B102F1 for ; Mon, 3 Feb 2014 23:17:21 +0000 (UTC) Received: (qmail 36624 invoked by uid 500); 3 Feb 2014 23:17:11 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 36540 invoked by uid 500); 3 Feb 2014 23:17:11 -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 36440 invoked by uid 500); 3 Feb 2014 23:17:10 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 36356 invoked by uid 99); 3 Feb 2014 23:17:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 23:17:08 +0000 Date: Mon, 3 Feb 2014 23:17:08 +0000 (UTC) From: "Prasanth J (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-6320) Row-based ORC reader with PPD turned on dies on BufferUnderFlowException 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-6320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanth J updated HIVE-6320: ----------------------------- Attachment: HIVE-6320.2.patch Addressed [~owen.omalley] and [~gopalv]'s code review comments. > Row-based ORC reader with PPD turned on dies on BufferUnderFlowException > ------------------------------------------------------------------------- > > Key: HIVE-6320 > URL: https://issues.apache.org/jira/browse/HIVE-6320 > Project: Hive > Issue Type: Bug > Components: Serializers/Deserializers > Affects Versions: 0.13.0 > Reporter: Gopal V > Assignee: Prasanth J > Labels: orcfile > Attachments: HIVE-6320.1.patch, HIVE-6320.2.patch > > > ORC data reader crashes out on a BufferUnderflowException, while trying to read data row-by-row with the predicate push-down enabled on current trunk. > {code} > Caused by: java.nio.BufferUnderflowException > at java.nio.Buffer.nextGetIndex(Buffer.java:472) > at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:117) > at org.apache.hadoop.hive.ql.io.orc.InStream$CompressedStream.read(InStream.java:207) > at org.apache.hadoop.hive.ql.io.orc.SerializationUtils.readInts(SerializationUtils.java:450) > at org.apache.hadoop.hive.ql.io.orc.RunLengthIntegerReaderV2.readDirectValues(RunLengthIntegerReaderV2.java:240) > at org.apache.hadoop.hive.ql.io.orc.RunLengthIntegerReaderV2.readValues(RunLengthIntegerReaderV2.java:53) > at org.apache.hadoop.hive.ql.io.orc.RunLengthIntegerReaderV2.next(RunLengthIntegerReaderV2.java:288) > at org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl$IntTreeReader.next(RecordReaderImpl.java:510) > at org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl$StructTreeReader.next(RecordReaderImpl.java:1581) > at org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl.next(RecordReaderImpl.java:2707) > at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$OrcRecordReader.next(OrcInputFormat.java:125) > at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$OrcRecordReader.next(OrcInputFormat.java:101) > {code} > The query run is > {code} > set hive.vectorized.execution.enabled=false; > set hive.optimize.index.filter=true; > insert overwrite directory '/tmp/foo' select * from lineitem where l_orderkey is not null; > {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)