Wang Xixu has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18946


Change subject: [Tools] Relance data in different disks according to container 
number
......................................................................

[Tools] Relance data in different disks according to container number

There already existed a good algorithm to make data distribute in different
disks balancely. But when a host adding more some new disks, Kudu can not
rebalance the data in disks immediately.

Therefore, this patch rebalances the data in disks offline. It will statistics
the number of containers of diffrent disks. Rebalance the data according to the
number of containers. Only log-block type is supported.

Change-Id: I368d718e032bec9516cb165ab65c7ea3be083ba4
---
M src/kudu/fs/block_manager.h
M src/kudu/fs/file_block_manager.cc
M src/kudu/fs/fs-test-util.h
M src/kudu/fs/log_block_manager.cc
M src/kudu/fs/log_block_manager.h
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool_action_fs.cc
M src/kudu/tools/tool_action_local_replica.cc
8 files changed, 254 insertions(+), 10 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I368d718e032bec9516cb165ab65c7ea3be083ba4
Gerrit-Change-Number: 18946
Gerrit-PatchSet: 1
Gerrit-Owner: Wang Xixu <[email protected]>

Reply via email to