Hello Alexey Serbin, Kudu Jenkins, Andrew Wong, Adar Dembo, Hannah Nguyen, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/14154

to look at the new patch set (#14).

Change subject: KUDU-2914: Rebalance tool support moving replicas from some 
specific tablet servers
......................................................................

KUDU-2914: Rebalance tool support moving replicas from some specific tablet 
servers

Aims to support moving replicas from specific tablet servers,
this patch re-uses the '--ignored_tservers' flag and adds a
'--move_replicas_from_ignored_tservers' flag to the
`kudu rebalance cluster` CLI tool.

Once the flag '--ignored_tservers' is specified, the given
tablet servers are not considered as a part of the cluster,
both their health state and replicas on them are ignored
by the rebalancer tool.

While if '--move_replicas_from_ignored_tservers' is enabled,
replicas on healthy ignored tservers would be moved to other
tservers first, and then running the rebalancing on the other
healthy tservers in the cluster.

Additionally, if we want to move replicas from some specified
tablet servers to other servers, the specified tablet servers
should be set into maintenance_mode first, otherwise the
rebalancer tool would not run.

Change-Id: I86cfb740030946c13db1a9ca63d241f4907d6c89
---
M src/kudu/rebalance/rebalance-test.cc
M src/kudu/rebalance/rebalance_algo.h
M src/kudu/rebalance/rebalancer.cc
M src/kudu/rebalance/rebalancer.h
M src/kudu/tools/rebalancer_tool-test.cc
M src/kudu/tools/rebalancer_tool.cc
M src/kudu/tools/rebalancer_tool.h
M src/kudu/tools/tool_action_cluster.cc
8 files changed, 806 insertions(+), 105 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/54/14154/14
--
To view, visit http://gerrit.cloudera.org:8080/14154
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I86cfb740030946c13db1a9ca63d241f4907d6c89
Gerrit-Change-Number: 14154
Gerrit-PatchSet: 14
Gerrit-Owner: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Hannah Nguyen <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <[email protected]>

Reply via email to