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

ASF subversion and git services commented on IMPALA-7205:
---------------------------------------------------------

Commit e5a243e165baa92ae716f1535aaaf4fba5347aad in impala's branch 
refs/heads/2.x from Dan Hecht
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=e5a243e ]

IMPALA-7205: Respond to ReportExecStatus() RPC with CANCELLED if query 
execution has terminated

Otherwise, if the coordinator to backend CancelFInstances() RPC had failed,
the query can hang (and/or finstances can continue running until the
query is closed.

Testing:
- the modified test reproduces the hang without the impalad fix

Change-Id: I7bb2c26edace89853f14a329f891d1f9a065a991
Reviewed-on: http://gerrit.cloudera.org:8080/10815
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Respond to ReportExecStatus() RPC with CANCELLED whenever query execution has 
> terminated
> ----------------------------------------------------------------------------------------
>
>                 Key: IMPALA-7205
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7205
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Distributed Exec
>    Affects Versions: Impala 3.1.0
>            Reporter: Dan Hecht
>            Assignee: Dan Hecht
>            Priority: Major
>             Fix For: Impala 2.13.0, Impala 3.1.0
>
>
> Currently we respond with CANCELLED only when hitting EOS. It seems a bit 
> more robust to always respond with CANCELLED whenever query execution has 
> terminated. That way, if the cancel RPC from the coordinator to a backend 
> fails, the backend will still cancel if it can send status back to the 
> coordinator later on.
> Without this fix, the query can hang and/or finstances can continue running 
> (until the query is closed, at which point the response to this RPC will be 
> an error).



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