Zoltán Borók-Nagy created IMPALA-11508:
------------------------------------------

             Summary: 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


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)

Reply via email to