Hello Attila Bukor, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/18441
to look at the new patch set (#3).
Change subject: [tserver] KUDU-1827: tserver decommission
......................................................................
[tserver] KUDU-1827: tserver decommission
This change introduces two new states for TServers for decommissioning.
The states are:
* DECOMMISSIONING_IN_PROGRESS
* DECOMMISSIONED
In these states the TServer is quieced and new replicas are prevented to
be placed on them. When a TServer is being decommissioned, first it
enters the DECOMMISSIONING_IN_PROGRESS state, then a rebalancer job is
started to move replicas away from every TServer that is in this state.
When the rebalancing is done, the TServers move to DECOMMISSIONED state
and will stay in it until they are removed from the cluster via the 'kudu
tserver unregister' tool.
The decommissioning can be started with the following cli command:
$ kudu tserver state enter_decommissioning <master_addresses>
<tserver_addresses> [-allow_missing_tserver]
[-negotiation_timeout_ms=<ms>] [-timeout_ms=<ms>]
It is possible to decommission multiple TServers at once by providing
multiple addresses in a comma-separated list, which is preferred to
avoid multiple replica moves between each server decommission.
Change-Id: I15c52b653c20b2a3a45fbf8934f19f6bd1a9caea
---
M src/kudu/integration-tests/CMakeLists.txt
M src/kudu/master/auto_rebalancer-test.cc
M src/kudu/master/auto_rebalancer.cc
M src/kudu/master/master.proto
M src/kudu/master/master_service.cc
M src/kudu/master/ts_manager.cc
M src/kudu/master/ts_manager.h
M src/kudu/master/ts_state-test.cc
M src/kudu/rebalance/rebalancer.cc
M src/kudu/rebalance/rebalancer.h
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/rebalancer_tool.cc
M src/kudu/tools/tool_action_common.cc
M src/kudu/tools/tool_action_common.h
M src/kudu/tools/tool_action_tserver.cc
15 files changed, 554 insertions(+), 152 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/41/18441/3
--
To view, visit http://gerrit.cloudera.org:8080/18441
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I15c52b653c20b2a3a45fbf8934f19f6bd1a9caea
Gerrit-Change-Number: 18441
Gerrit-PatchSet: 3
Gerrit-Owner: Zoltan Chovan <[email protected]>
Gerrit-Reviewer: Attila Bukor <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)