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 7D7F618F54 for ; Thu, 11 Feb 2016 18:02:23 +0000 (UTC) Received: (qmail 17569 invoked by uid 500); 11 Feb 2016 18:02:18 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 17526 invoked by uid 500); 11 Feb 2016 18:02:18 -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 17463 invoked by uid 99); 11 Feb 2016 18:02:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2016 18:02:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0F3822C14F0 for ; Thu, 11 Feb 2016 18:02:18 +0000 (UTC) Date: Thu, 11 Feb 2016 18:02:18 +0000 (UTC) From: "Rajesh Balamohan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-13042) OrcFiledump runs into an ArrayIndexOutOfBoundsException when running against old versions of ORC files 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-13042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143160#comment-15143160 ] Rajesh Balamohan commented on HIVE-13042: ----------------------------------------- Old orc that was generated with hive 11. > OrcFiledump runs into an ArrayIndexOutOfBoundsException when running against old versions of ORC files > ------------------------------------------------------------------------------------------------------ > > Key: HIVE-13042 > URL: https://issues.apache.org/jira/browse/HIVE-13042 > Project: Hive > Issue Type: Bug > Reporter: Rajesh Balamohan > Assignee: Rajesh Balamohan > Attachments: HIVE-13042.1.patch > > > {noformat} > Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0 > at java.util.Collections$EmptyList.get(Collections.java:3212) > at org.apache.hadoop.hive.ql.io.orc.ReaderImpl.getFileVersion(ReaderImpl.java:194) > at org.apache.hadoop.hive.ql.io.orc.FileDump.printMetaDataImpl(FileDump.java:289) > at org.apache.hadoop.hive.ql.io.orc.FileDump.printMetaData(FileDump.java:261) > at org.apache.hadoop.hive.ql.io.orc.FileDump.main(FileDump.java:127) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.apache.hadoop.util.RunJar.run(RunJar.java:221) > at org.apache.hadoop.util.RunJar.main(RunJar.java:136) > {noformat} > \cc [~prasanth_j], [~sseth] -- This message was sent by Atlassian JIRA (v6.3.4#6332)