You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/06/29 15:56:00 UTC
[jira] [Commented] (IMPALA-7205) Respond to ReportExecStatus() RPC
with CANCELLED whenever query execution has terminated
[ https://issues.apache.org/jira/browse/IMPALA-7205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16527860#comment-16527860 ]
ASF subversion and git services commented on IMPALA-7205:
---------------------------------------------------------
Commit 8000c31d14a439a37a5f8dd626763a433f014504 in impala's branch refs/heads/master from [~dhecht]
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=8000c31 ]
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 <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
> 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 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org