Fang-Yu Rao created IMPALA-14188:
------------------------------------

             Summary: check_num_executing fails test_query_expiration
                 Key: IMPALA-14188
                 URL: https://issues.apache.org/jira/browse/IMPALA-14188
             Project: IMPALA
          Issue Type: Bug
            Reporter: Fang-Yu Rao
            Assignee: Riza Suminto


We found that {{test_query_expiration()}} in 
https://github.com/apache/impala/blame/master/tests/custom_cluster/test_query_expiration.py
 could fail in {{_check_num_executing()}} because the number of in-flight 
queries in the waiting state was 1, but we expected this number to be 0 based 
on the following stacktrace.
{code}
custom_cluster/test_query_expiration.py:124: in test_query_expiration
    self._check_num_executing(impalad, 2)
custom_cluster/test_query_expiration.py:52: in _check_num_executing
    assert waiting == expect_waiting, (
E   AssertionError: 1 out of 3 queries waiting (expected 0). 
query_id=[u'3343c5b0633c8f84:e3bc421f00000000']
E   assert 1 == 0
{code}

According to the log lines above, it looks like
- 3 queries were in-flight,
- 2 queries were in the executing state, and
- 1 query was in waiting state

Not very sure if I missed something, but it seems there was one more in-flight 
query than expected?





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to