[
https://issues.apache.org/jira/browse/IMPALA-12234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fang-Yu Rao resolved IMPALA-12234.
----------------------------------
Resolution: Duplicate
Close this JIRA since it's a duplicate of IMPALA-12148.
> test_ctas could fail because CTAS did not reach the expected states
> -------------------------------------------------------------------
>
> Key: IMPALA-12234
> URL: https://issues.apache.org/jira/browse/IMPALA-12234
> Project: IMPALA
> Issue Type: Bug
> Affects Versions: Impala 4.2.0
> Reporter: Fang-Yu Rao
> Assignee: Fang-Yu Rao
> Priority: Major
> Labels: broken-build
>
> We found that test_ctas could fail due to CTAS not being able to reach the
> expected states in 'wait_time' which is 20 seconds if the underlying file
> system is HDFS
> ([https://github.com/apache/impala/blame/master/tests/metadata/test_ddl.py#L1120C7-L1120C16]).
> Maybe we could slightly increase 'wait_time' to make this test less flaky.
> *Error Message*
> {code:java}
> metadata/test_ddl.py:1122: in test_ctas self.wait_for_state(handle,
> finished_state, wait_time, client=client) common/impala_test_suite.py:1115:
> in wait_for_state self.wait_for_any_state(handle, [expected_state],
> timeout, client) common/impala_test_suite.py:1133: in wait_for_any_state
> raise Timeout(timeout_msg) E Timeout: query
> 'c74765ed9d8472ed:6f2dde9000000000' did not reach one of the expected states
> [4], last known state 2
> {code}
> *Stacktrace*
> {code:java}
> metadata/test_ddl.py:1122: in test_ctas
> self.wait_for_state(handle, finished_state, wait_time, client=client)
> common/impala_test_suite.py:1115: in wait_for_state
> self.wait_for_any_state(handle, [expected_state], timeout, client)
> common/impala_test_suite.py:1133: in wait_for_any_state
> raise Timeout(timeout_msg)
> E Timeout: query 'c74765ed9d8472ed:6f2dde9000000000' did not reach one of
> the expected states [4], last known state 2
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)