Hello Kudu Jenkins, I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/20594 to look at the new patch set (#2). Change subject: [Tool] Find the container by block id ...................................................................... [Tool] Find the container by block id Sometimes, a block is damaged because of the checksum is incorrect or the disk is damaged. The log only prints the block id, but no container id. We want to known which container the block locates in. If we known the container, we can reads the related metadata file to get the status of the block: dead or alive. We can also truncate the record from the meadata file to repair the container, although it will cause some data loss. This patch provides the tool to find the container by a block id. Change-Id: Ifaafd2bb634ed7fab923d9cf9eef40437442d187 --- M src/kudu/fs/block_manager.h M src/kudu/fs/file_block_manager.cc M src/kudu/fs/file_block_manager.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_local_replica.cc 7 files changed, 119 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/94/20594/2 -- To view, visit http://gerrit.cloudera.org:8080/20594 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ifaafd2bb634ed7fab923d9cf9eef40437442d187 Gerrit-Change-Number: 20594 Gerrit-PatchSet: 2 Gerrit-Owner: Wang Xixu <1450306...@qq.com> Gerrit-Reviewer: Kudu Jenkins (120)