Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
If we try to clone HivePartition with a null source, during deserialization of fragment we end up with a NPE:
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]
Attachments
Attachments
Issue Links
- duplicates
-
DRILL-1420 Hive query fails with uncaught Exception
- Resolved