Qifan Chen has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17999


Change subject: IMPALA-11006: Impalad crashes during query cancel tests
......................................................................

IMPALA-11006: Impalad crashes during query cancel tests

This patch addresses impalad crash during query cancel tests. The
root cause is that the wait thread in impalad assumes that the
coordinator is always available once the worker thread
async_exec_thread_ is joined. In reality, the coordinator may not
be available at all once the query is cancelled.

The patches specifically checks the cancel status when it is found
that the coordinator is not available and bails out immediately.
This prevents crash since the subsequent code that assumes the
coordinator is available is never reached.

Testing [TBD].

Change-Id: Ia49411f8525734b8d463d9ffbfbce705b90a8d73
---
M be/src/service/client-request-state.cc
1 file changed, 9 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/99/17999/1
--
To view, visit http://gerrit.cloudera.org:8080/17999
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia49411f8525734b8d463d9ffbfbce705b90a8d73
Gerrit-Change-Number: 17999
Gerrit-PatchSet: 1
Gerrit-Owner: Qifan Chen <[email protected]>

Reply via email to