[
https://issues.apache.org/jira/browse/CARBONDATA-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17249608#comment-17249608 ]
lee yong commented on CARBONDATA-4058:
--------------------------------------
I have created a pull request, URL is: [
https://github.com/apache/carbondata/pull/4054|
https://github.com/apache/carbondata/pull/4054]
But it does not link to this Jira issue. Could anyone help me link this?
> 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
> Time Spent: 40m
> Remaining Estimate: 0h
>
> # 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"
--
This message was sent by Atlassian Jira
(v8.3.4#803005)