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

Tim Armstrong updated IMPALA-2371:
----------------------------------
    Description: 
*Problem Statement:*
The query status should be "CANCELLED" if the query is cancelled. However, 
cancelling it through the shell does not do that. The query status still appear 
as ok:

    Query Type: QUERY
    Query State: FINISHED
    Query Status: OK

This does not happen consistently and we don't know if there are any other 
conditions that result in this behavior. There is no known workaround.

*Impact*
-It is impossible to tell, from the query profile status, whether the query 
finished successfully or not. It makes diagnosing query issue a lot harder.-
Impala clients have to handle more different states, compared to the scenario 
where the final states of the query are more consistent.

  was:
*Problem Statement:*
The query status should be "CANCELLED" if the query is cancelled. However, 
cancelling it through the shell does not do that. The query status still appear 
as ok:

    Query Type: QUERY
    Query State: FINISHED
    Query Status: OK

This does not happen consistently and we don't know if there are any other 
conditions that result in this behavior. There is no known workaround.

*Impact*
It is impossible to tell, from the query profile status, whether the query 
finished successfully or not. It makes diagnosing query issue a lot harder.


> Query state/status of cancelled query is reported as FINISHED/OK
> ----------------------------------------------------------------
>
>                 Key: IMPALA-2371
>                 URL: https://issues.apache.org/jira/browse/IMPALA-2371
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 2.2.4, Impala 2.3.0
>            Reporter: Alan Choi
>            Priority: Minor
>              Labels: query-lifecycle
>
> *Problem Statement:*
> The query status should be "CANCELLED" if the query is cancelled. However, 
> cancelling it through the shell does not do that. The query status still 
> appear as ok:
>     Query Type: QUERY
>     Query State: FINISHED
>     Query Status: OK
> This does not happen consistently and we don't know if there are any other 
> conditions that result in this behavior. There is no known workaround.
> *Impact*
> -It is impossible to tell, from the query profile status, whether the query 
> finished successfully or not. It makes diagnosing query issue a lot harder.-
> Impala clients have to handle more different states, compared to the scenario 
> where the final states of the query are more consistent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to