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

Dan Hecht resolved IMPALA-7205.
-------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.1.0

commit 8000c31d14a439a37a5f8dd626763a433f014504
Author: Dan Hecht <dhe...@cloudera.com>
Date:   Mon Jun 25 12:05:16 2018 -0700

    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 <impala-public-jenk...@cloudera.com>
    Tested-by: Impala Public Jenkins <impala-public-jenk...@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-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to