Hello Yingchun Lai, 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 (#3).
Change subject: [Tool] Find file path where the block is stored on
......................................................................
[Tool] Find file path where the block is stored on
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 file path by a block id.
Change-Id: Ifaafd2bb634ed7fab923d9cf9eef40437442d187
---
M src/kudu/fs/block_manager.h
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
6 files changed, 124 insertions(+), 5 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/94/20594/3
--
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: 3
Gerrit-Owner: Wang Xixu <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yingchun Lai <[email protected]>