Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12234

test_ctas could fail because CTAS did not reach the expected states

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • Impala 4.2.0
    • None
    • None
    • ghx-label-11

    Description

      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

      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
      

      Stacktrace

      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
      

      Attachments

        Issue Links

          Activity

            People

              fangyurao Fang-Yu Rao
              fangyurao Fang-Yu Rao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: