Derek Huang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/22239


Change subject: [tools] Run range aware cluster rebalance with multiple tables
......................................................................

[tools] Run range aware cluster rebalance with multiple tables

Previously when rebalancing cluster with kudu command line tool, the
`--enable_range_rebalancing` flag requires the `--tables` flag with exactly one
table specified.

This commit removes this restriction, allowing multiple tables to be passed to
the `--tables` flag when range rebalancing is enabled. Among them, range
partitioned tables will be rebalanced with ranges considered, while others are
rebalanced as usual. If the `--tables` flag is not set, all tables in the
cluster will be rebalanced.

This commit also optimizes the replica distribution details when range
rabalancing is applied to multiple tables with mixed partition schemas.

Change-Id: I7f6995496e6c28e6a3a8fa4b6f0e8efd05335267
---
M src/kudu/rebalance/cluster_status.h
M src/kudu/rebalance/rebalance-test.cc
M src/kudu/rebalance/rebalancer.cc
M src/kudu/tools/ksck.cc
M src/kudu/tools/rebalancer_tool-test.cc
M src/kudu/tools/rebalancer_tool.cc
M src/kudu/tools/tool_action_cluster.cc
7 files changed, 132 insertions(+), 21 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7f6995496e6c28e6a3a8fa4b6f0e8efd05335267
Gerrit-Change-Number: 22239
Gerrit-PatchSet: 1
Gerrit-Owner: Derek Huang <[email protected]>

Reply via email to