[ https://issues.apache.org/jira/browse/IMPALA-7205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Hecht updated IMPALA-7205: ------------------------------ Description: 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). was: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. > 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 > > 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