You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Zoltán Borók-Nagy (Jira)" <ji...@apache.org> on 2022/09/27 07:17:00 UTC

[jira] [Resolved] (IMPALA-11508) Iceberg test test_expire_snapshots is flaky

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

Zoltán Borók-Nagy resolved IMPALA-11508.
----------------------------------------
    Fix Version/s: Impala 4.2.0
       Resolution: Fixed

> Iceberg test test_expire_snapshots is flaky
> -------------------------------------------
>
>                 Key: IMPALA-11508
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11508
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>              Labels: broken-build, impala-iceberg
>             Fix For: Impala 4.2.0
>
>
> h2. Stacktrace
> {noformat}
> query_test/test_iceberg.py:104: in test_expire_snapshots
>     impalad_client.execute(insert_q)
> common/impala_connection.py:212: in execute
>     return self.__beeswax_client.execute(sql_stmt, user=user)
> beeswax/impala_beeswax.py:189: in execute
>     handle = self.__execute_query(query_string.strip(), user=user)
> beeswax/impala_beeswax.py:365: in __execute_query
>     handle = self.execute_query_async(query_string, user=user)
> beeswax/impala_beeswax.py:359: in execute_query_async
>     handle = self.__do_rpc(lambda: self.imp_service.query(query,))
> beeswax/impala_beeswax.py:522: in __do_rpc
>     raise ImpalaBeeswaxException(self.__build_error_message(b), b)
> E   ImpalaBeeswaxException: ImpalaBeeswaxException:
> E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
> E    MESSAGE: AnalysisException: org.apache.impala.catalog.TableLoadingException: Error opening Iceberg table 'test_expire_snapshots_e488dbc3.expire_snapshots'
> E   CAUSED BY: TableLoadingException: Error opening Iceberg table 'test_expire_snapshots_e488dbc3.expire_snapshots'
> E   CAUSED BY: InconsistentMetadataFetchException: Catalog object TCatalogObject(type:TABLE, catalog_version:7309, table:TTable(db_name:test_expire_snapshots_e488dbc3, tbl_name:expire_snapshots)) changed version between accesses.
> {noformat}
> The error might be due to not detecting all self-events correctly, so the IcebergTable gets updated on the CatalogD side.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)