Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

not able to select or drop table which was created in llap with druid datasource

Highlighted

not able to select or drop table which was created in llap with druid datasource

Guru

show create table druid_table

0: jdbc:hive2://server:10500> ;

INFO: Compiling command(queryId=hive_20181015070201_cf13d572-fa45-42d8-86c1-edc0d4c4c7f5): show create table druid_table

INFO: We are setting the hadoop caller context from HIVE_SSN_ID:2712d452-fc44-4710-9796-b30751b25cbb to hive_20181015070201_cf13d572-fa45-42d8-86c1-edc0d4c4c7f5

INFO: Semantic Analysis Completed

INFO: Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:createtab_stmt, type:string, comment:from deserializer)], properties:null)

INFO: Completed compiling command(queryId=hive_20181015070201_cf13d572-fa45-42d8-86c1-edc0d4c4c7f5); Time taken: 0.028 seconds

INFO: We are resetting the hadoop caller context to HIVE_SSN_ID:2712d452-fc44-4710-9796-b30751b25cbb

INFO: Setting caller context to query id hive_20181015070201_cf13d572-fa45-42d8-86c1-edc0d4c4c7f5

INFO: Executing command(queryId=hive_20181015070201_cf13d572-fa45-42d8-86c1-edc0d4c4c7f5): show create table druid_table

ERROR : FAILED: Hive Internal Error: java.lang.NullPointerException(null)

java.lang.NullPointerException

at org.apache.hadoop.hive.druid.DruidStorageHandler.preAlterTable(DruidStorageHandler.java:673)

at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.alter_table_with_environmentContext(HiveMetaStoreClient.java:301)

at org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient.alter_table_with_environmentContext(SessionHiveMetaStoreClient.java:325)

at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:173)

at com.sun.proxy.$Proxy33.alter_table_with_environmentContext(Unknown Source)

at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)

1 REPLY 1

Re: not able to select or drop table which was created in llap with druid datasource

Expert Contributor
@Nishant Bangarwa

can you please take a look at this?