drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venki Korukanti (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-1398) Clone HivePartition only when InputSplit has non-null partition in InputSplit->Partition map
Date Wed, 10 Sep 2014 16:50:34 GMT
Venki Korukanti created DRILL-1398:
--------------------------------------

             Summary: 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: Venki Korukanti


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.<init>(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)

Mime
View raw message