Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-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 A9F5C112D6 for ; Mon, 15 Sep 2014 07:50:58 +0000 (UTC) Received: (qmail 35422 invoked by uid 500); 15 Sep 2014 07:50:58 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 35395 invoked by uid 500); 15 Sep 2014 07:50:58 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 35386 invoked by uid 99); 15 Sep 2014 07:50:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2014 07:50:58 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 15 Sep 2014 07:50:36 +0000 Received: (qmail 33744 invoked by uid 99); 15 Sep 2014 07:50:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2014 07:50:34 +0000 Date: Mon, 15 Sep 2014 07:50:34 +0000 (UTC) From: "Venki Korukanti (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-1398) Clone HivePartition only when InputSplit has non-null partition in InputSplit->Partition map 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/DRILL-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Venki Korukanti updated DRILL-1398: ----------------------------------- Assignee: DrillCommitter (was: Venki Korukanti) > Clone HivePartition only when InputSplit has non-null partition in InputSplit->Partition map > -------------------------------------------------------------------------------------------- > > Key: DRILL-1398 > URL: https://issues.apache.org/jira/browse/DRILL-1398 > Project: Apache Drill > Issue Type: Bug > Reporter: Venki Korukanti > Assignee: DrillCommitter > Attachments: DRILL-1398-HivePartitionBug.patch > > > If we try to clone HivePartition with a null source, during deserialization of fragment we end up with a NPE: > {code} > java.lang.NullPointerException: null > at org.apache.drill.exec.store.hive.HiveTable$HivePartition.(HiveTable.java:149) ~[drill-storage-hive-core-0.5.0-incubating-SNAPSHOT.jar:0.5.0-incubating-SNAPSHOT] > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_60] > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_60] > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_60] > at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_60] > at com.fasterxml.jackson.databind.introspect.AnnotatedConstructor.call(AnnotatedConstructor.java:125) ~[jackson-databind-2.2.0.jar:2.2.0] > at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromObjectWith(StdValueInstantiator.java:240) ~[jackson-databind-2.2.0.jar:2.2.0] > at com.fasterxml.jackson.databind.deser.impl.PropertyBasedCreator.build(PropertyBasedCreator.java:158) ~[jackson-databind-2.2.0.jar:2.2.0] > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)