You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Csaba Ringhofer (Jira)" <ji...@apache.org> on 2021/05/04 09:07:00 UTC

[jira] [Updated] (IMPALA-10692) Inserting to ACID tables are broken in local_catalog mode with hms event polling

     [ https://issues.apache.org/jira/browse/IMPALA-10692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Csaba Ringhofer updated IMPALA-10692:
-------------------------------------
    Affects Version/s: Impala 4.0

> 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
>    Affects Versions: Impala 4.0
>            Reporter: Csaba Ringhofer
>            Priority: Critical
>             Fix For: Impala 4.0
>
>
> 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org