[
https://issues.apache.org/jira/browse/IMPALA-14582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Riza Suminto resolved IMPALA-14582.
-----------------------------------
Fix Version/s: Impala 5.0.0
Resolution: Fixed
> test_show_create_table_with_stats is flaky
> ------------------------------------------
>
> Key: IMPALA-14582
> URL: https://issues.apache.org/jira/browse/IMPALA-14582
> Project: IMPALA
> Issue Type: Bug
> Components: Test
> Affects Versions: Impala 5.0.0
> Reporter: Riza Suminto
> Assignee: Riza Suminto
> Priority: Major
> Labels: broken-build
> Fix For: Impala 5.0.0
>
> Attachments:
> catalogd.6f230ec72740.impala.log.INFO.20251201-183755.1.gz,
> impalad-INFO-logs.txt
>
>
> test_show_create_table_with_stats is flaky can be flaky due to inconsistent
> metadata between after table queries in test file.
> It recently failed in
> [https://jenkins.impala.io/job/ubuntu-20.04-dockerised-tests/4296/testReport/junit/metadata.test_show_create_table/TestShowCreateTable/test_show_create_table_with_stats__table_format__text_none_____protocol__hs2__/]
>
> {code:java}
> Stacktrace
> metadata/test_show_create_table.py:106: in test_show_create_table_with_stats
> self.__run_show_create_table_with_stats_test_case(
> metadata/test_show_create_table.py:249: in
> __run_show_create_table_with_stats_test_case
> result = self.__exec(test_case.show_create_table_sql + " WITH STATS")
> metadata/test_show_create_table.py:263: in __exec
> return self.execute_query_expect_success(self.client, sql_str)
> common/impala_test_suite.py:1126: in wrapper
> return function(*args, **kwargs)
> common/impala_test_suite.py:1136: in execute_query_expect_success
> result = cls.__execute_query(impalad_client, query, query_options, user)
> common/impala_test_suite.py:1299: in __execute_query
> return impalad_client.execute(query, user=user)
> common/impala_connection.py:687: in execute
> cursor.execute(sql_stmt, configuration=self.__query_options)
> ../infra/python/env-gcc10.4.0-py3/lib/python3.8/site-packages/impala/hiveserver2.py:391:
> in execute
> self.execute_async(operation, parameters=parameters,
> ../infra/python/env-gcc10.4.0-py3/lib/python3.8/site-packages/impala/hiveserver2.py:443:
> in execute_async
> self._execute_async(op)
> ../infra/python/env-gcc10.4.0-py3/lib/python3.8/site-packages/impala/hiveserver2.py:462:
> in _execute_async
> operation_fn()
> ../infra/python/env-gcc10.4.0-py3/lib/python3.8/site-packages/impala/hiveserver2.py:438:
> in op
> op = self.session.execute(self._last_operation_string,
> ../infra/python/env-gcc10.4.0-py3/lib/python3.8/site-packages/impala/hiveserver2.py:1324:
> in execute
> return self._operation('ExecuteStatement', req, False)
> ../infra/python/env-gcc10.4.0-py3/lib/python3.8/site-packages/impala/hiveserver2.py:1244:
> in _operation
> resp = self._rpc(kind, request, safe_to_retry)
> ../infra/python/env-gcc10.4.0-py3/lib/python3.8/site-packages/impala/hiveserver2.py:1181:
> in _rpc
> err_if_rpc_not_ok(response)
> ../infra/python/env-gcc10.4.0-py3/lib/python3.8/site-packages/impala/hiveserver2.py:867:
> in err_if_rpc_not_ok
> raise HiveServer2Error(resp.status.errorMessage)
> E impala.error.HiveServer2Error: Query ea4e44b926dd9971:e0063c5a00000000
> failed:
> E InconsistentMetadataFetchException: Catalog object
> TCatalogObject(type:TABLE, catalog_version:50379,
> table:TTable(db_name:test_show_create_table_with_stats_5f4ae381,
> tbl_name:t_part_stats)) changed version between accesses.
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)