Wenzhe Zhou has uploaded this change for review. ( http://gerrit.cloudera.org:8080/20402
Change subject: IMPALA-12382: Unregister executor when it's shutdown gracefully ...................................................................... IMPALA-12382: Unregister executor when it's shutdown gracefully This patch adds new API UnregisterSubscriber() in StatestoreService. Executor will call this API to unregister itself with statestore when it's shutdown gracefully. This makes the executor been removed from cluster immediately and reduces the chance for coordinator to schedule fragments on the gracefully showndown executors. Testing: - TODO add new end-to-end unit-test in TestGracefulShutdown. - Passed core tests. Change-Id: I6607285adedef1a0bdd87c444fe9d357259c0a50 --- M be/src/rpc/thrift-server-test.cc M be/src/runtime/exec-env.cc M be/src/runtime/exec-env.h M be/src/service/impala-server.cc M be/src/statestore/statestore-service-client-wrapper.h M be/src/statestore/statestore-subscriber.cc M be/src/statestore/statestore-subscriber.h M be/src/statestore/statestore.cc M be/src/statestore/statestore.h M common/thrift/StatestoreService.thrift M tests/custom_cluster/test_restart_services.py 11 files changed, 166 insertions(+), 4 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/02/20402/3 -- To view, visit http://gerrit.cloudera.org:8080/20402 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I6607285adedef1a0bdd87c444fe9d357259c0a50 Gerrit-Change-Number: 20402 Gerrit-PatchSet: 3 Gerrit-Owner: Wenzhe Zhou <[email protected]>
