Yifan Zhang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18124


Change subject: KUDU-2915: add tool to remove a tablet server
......................................................................

KUDU-2915: add tool to remove a tablet server

Add a 'kudu tserver remove' tool to unregister a tserver from the
master. This tool will be useful when we want to decommission a tserver
without restart masters.

It could remove the dead tserver from master's in-memory map and
persisted data(if any) by default. We could also force remove a live
tserver and keep the tserver's maintenance state by adding some
optional arguments.

Change-Id: If1f5c2979a8d14428f4bcc8e850c57ce228c793a
---
M src/kudu/master/catalog_manager.cc
M src/kudu/master/master.proto
M src/kudu/master/master_service.cc
M src/kudu/master/master_service.h
M src/kudu/master/ts_manager.cc
M src/kudu/master/ts_manager.h
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool_action_common.cc
M src/kudu/tools/tool_action_common.h
M src/kudu/tools/tool_action_master.cc
M src/kudu/tools/tool_action_tserver.cc
11 files changed, 270 insertions(+), 63 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/24/18124/1
--
To view, visit http://gerrit.cloudera.org:8080/18124
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If1f5c2979a8d14428f4bcc8e850c57ce228c793a
Gerrit-Change-Number: 18124
Gerrit-PatchSet: 1
Gerrit-Owner: Yifan Zhang <[email protected]>

Reply via email to