[
https://issues.apache.org/jira/browse/IMPALA-10692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Csaba Ringhofer resolved IMPALA-10692.
--------------------------------------
Resolution: Fixed
> Inserting to ACID tables are broken in local_catalog mode with hms event
> polling
> --------------------------------------------------------------------------------
>
> Key: IMPALA-10692
> URL: https://issues.apache.org/jira/browse/IMPALA-10692
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Reporter: Csaba Ringhofer
> Priority: Critical
>
> https://gerrit.cloudera.org/#/c/17313/ broke the following simple workflow:
> {code}
> bin/start-impala-cluster.py --catalogd_args="--hms_event_polling_interval_s=1
> --catalog_topic_mode=minimal" --impalad_args="--use_local_catalog=1"
> set default_transactional_type=insert_only;
> create table tpa (i int) partitioned by (p int);
> insert into tpa partition (p=1) values(1);
> ERROR: NullPointerException: Invalid partition name: p=1
> {code}
> The issue only occurs when inserting to a new partition in a partitioned
> table.
> From the catalogd log:
> {code}
> I0430 19:18:03.091575 11521 jni-util.cc:286] java.lang.NullPointerException:
> Invalid partition name: p=1
> at
> com.google.common.base.Preconditions.checkNotNull(Preconditions.java:897)
> at
> org.apache.impala.catalog.HdfsTable.getPartitionsForNames(HdfsTable.java:1657)
> at
> org.apache.impala.service.CatalogOpExecutor.createInsertEvents(CatalogOpExecutor.java:4921)
> at
> org.apache.impala.service.CatalogOpExecutor.updateCatalog(CatalogOpExecutor.java:4830)
> at
> org.apache.impala.service.JniCatalog.updateCatalog(JniCatalog.java:327)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]