[ 
https://issues.apache.org/jira/browse/IMPALA-14028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Riza Suminto resolved IMPALA-14028.
-----------------------------------
    Fix Version/s: Impala 5.0.0
       Resolution: Fixed

> Modify cancel_query_and_validate_state to work with Impyla
> ----------------------------------------------------------
>
>                 Key: IMPALA-14028
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14028
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Infrastructure, Test
>            Reporter: Riza Suminto
>            Assignee: Riza Suminto
>            Priority: Major
>             Fix For: Impala 5.0.0
>
>
> cancel_query_and_validate_state is a helper method used to test query 
> cancellation with concurrent fetch. It is still use beeswax client by default.
> Ideally, we should change this test to use HS2 protocol by default. But 
> ImpylaHS2Connection, a wrapper of Impyla, is not thread safe. We need to 
> relax this test method in several way:
>  # Implement HS2_OPERATION_RETURN_IF_ERROR. Similar like 
> HS2_RETURN_IF_ERROR, but additionally set operationState to 
> TOperationState::ERROR_STATE.
>  # Make client operation such as execute_async, fetch, cancel, 
> get_runtime_profile mutually exclusive.
>  # Do not attempt to fetch if there is a debug action set to prevent it (ie., 
> wait GetNext indefinitely).
>  # Do not attempt to fetch if query handle is error right after execute_async.



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