[
https://issues.apache.org/jira/browse/CARBONDATA-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
lee yong updated CARBONDATA-4058:
---------------------------------
Summary: create or insert data into the carbon table through Hive throw NPE (was: create or insert data into the carbon table through Hive throw NEP)
> create or insert data into the carbon table through Hive throw NPE
> ------------------------------------------------------------------
>
> Key: CARBONDATA-4058
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-4058> Project: CarbonData
> Issue Type: Bug
> Components: hive-integration
> Affects Versions: 2.0.0, 2.1.0
> Environment: hadoop3.1 hive 3.1
> Reporter: lee yong
> Priority: Major
> Original Estimate: 1m
> Remaining Estimate: 1m
>
> # error1 : insert data throw NEP
> 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 NEP
> 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"
--
This message was sent by Atlassian Jira
(v8.3.4#803005)