[ 
https://issues.apache.org/jira/browse/IMPALA-12616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17851904#comment-17851904
 ] 

Joe McDonnell commented on IMPALA-12616:
----------------------------------------

I switched the code to use self.client.wait_for_finished_timeout(), which will 
stop if it reaches either FINISHED or EXCEPTION. Here is the error it hits:
{noformat}
custom_cluster/test_restart_services.py:238: in 
test_restart_catalogd_while_handling_rpc_response_with_timeout
    finished = self.client.wait_for_finished_timeout(handle, max_wait_time)
common/impala_connection.py:247: in wait_for_finished_timeout
    operation_handle.get_handle(), timeout)
beeswax/impala_beeswax.py:423: in wait_for_finished_timeout
    raise ImpalaBeeswaxException("Query aborted:" + error_log, None)
E   ImpalaBeeswaxException: ImpalaBeeswaxException:
E    Query aborted:CatalogException: Detected catalog service ID changes from 
b0019607521f4f0a:8340b9882af1a856 to a4f8584219b34182:9b3cf9af859a0d54. 
Aborting updateCatalog(){noformat}

> test_restart_catalogd_while_handling_rpc_response* tests fail not reaching 
> expected states
> ------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-12616
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12616
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 1.4.2
>            Reporter: Andrew Sherman
>            Assignee: Daniel Becker
>            Priority: Critical
>
> There are failures in both 
> custom_cluster.test_restart_services.TestRestart.test_restart_catalogd_while_handling_rpc_response_with_timeout
>  and 
> custom_cluster.test_restart_services.TestRestart.test_restart_catalogd_while_handling_rpc_response_with_max_iters,
>  both look the same:
> {code:java}
> custom_cluster/test_restart_services.py:232: in 
> test_restart_catalogd_while_handling_rpc_response_with_timeout
>     self.wait_for_state(handle, self.client.QUERY_STATES["FINISHED"], 
> max_wait_time)
> common/impala_test_suite.py:1181: in wait_for_state
>     self.wait_for_any_state(handle, [expected_state], timeout, client)
> common/impala_test_suite.py:1199: in wait_for_any_state
>     raise Timeout(timeout_msg)
> E   Timeout: query '6a4e0bad9b511ccf:bf93de6800000000' did not reach one of 
> the expected states [4], last known state 5
> {code}



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

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

Reply via email to