You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Wang Xixu (Code Review)" <ge...@cloudera.org> on 2022/12/20 02:30:14 UTC
[kudu-CR] [Tools] Rebalance data among different disks
Hello Kudu Jenkins, Abhishek Chennaka,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/18946
to look at the new patch set (#6).
Change subject: [Tools] Rebalance data among different disks
......................................................................
[Tools] Rebalance data among different disks
There already existed a good algorithm to make data distribute
in different disks balancely. But when a host adding more new
disks, Kudu can not rebalance the data among disks immediately.
This patch offer a tool to rebalance data among different disks.
It firstly statistics of the number of tablets in disks. Then
move the tablets from the disk owning most tablets to the less
one. In reality, it migrates blocks from one disk to the other.
Change-Id: I368d718e032bec9516cb165ab65c7ea3be083ba4
---
M src/kudu/fs/block_manager.h
M src/kudu/fs/data_dirs.cc
M src/kudu/fs/data_dirs.h
M src/kudu/fs/file_block_manager.cc
M src/kudu/fs/file_block_manager.h
M src/kudu/fs/log_block_manager-test.cc
M src/kudu/fs/log_block_manager.cc
M src/kudu/fs/log_block_manager.h
M src/kudu/tserver/tablet_server-test.cc
M src/kudu/tserver/tablet_service.cc
M src/kudu/tserver/tablet_service.h
M src/kudu/tserver/tserver_admin.proto
12 files changed, 509 insertions(+), 18 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/46/18946/6
--
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: newpatchset
Gerrit-Change-Id: I368d718e032bec9516cb165ab65c7ea3be083ba4
Gerrit-Change-Number: 18946
Gerrit-PatchSet: 6
Gerrit-Owner: Wang Xixu <14...@qq.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Wang Xixu <14...@qq.com>