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 "Fang-Yu Rao (Jira)" <ji...@apache.org> on 2023/06/23 00:07:00 UTC

[jira] [Created] (IMPALA-12234) test_ctas could fail because CTAS did not reach the expected states

Fang-Yu Rao created IMPALA-12234:
------------------------------------

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


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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org