Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0.0, 2.1.0
-
None
-
None
-
hadoop3.1 hive 3.1
Description
- error1 : insert data throw NPE
Caused by: java.lang.NullPointerException
at org.apache.carbondata.hive.CarbonHiveMetastoreListener.onEvent(CarbonHiveMetastoreListener.scala:70)
at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.firePreEvent(HiveMetaStore.java:3398)
at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_core(HiveMetaStore.java:5259)
... 21 more
error2 :create table throw NPE
Caused by: java.lang.NullPointerException
at org.apache.carbondata.hive.CarbonHiveMetastoreListener.onEvent(CarbonHiveMetastoreListener.scala:38)
at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.firePreEvent(HiveMetaStore.java:3398)
at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_table_core(HiveMetaStore.java:1968)
at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_table_core(HiveMetaStore.java:1923)
at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_table_with_environment_context(HiveMetaStore.java:2172)
... 20 more
The reason is tableProps not containsKey "spark.sql.sources.provider"