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 2023/04/02 08:35:12 UTC
[kudu-CR] [Tool] Show the information of a tablet
Hello Tidy Bot, Alexey Serbin, Yuqi Du, Yingchun Lai, Kudu Jenkins, KeDeng,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/19501
to look at the new patch set (#12).
Change subject: [Tool] Show the information of a tablet
......................................................................
[Tool] Show the information of a tablet
This tool is used to show the table name, table id and all
replicas on different tablet servers according to the tablet
id.
Sometimes, the log prints the tablet id when a query failed or
the system got something wrong. But it is difficult to find
useful information according to the tablet id.
This tool will be helpful for debuging. The following is an
exmple:
Table id: 9112ec4b6eac48f5967da5a1f20610b0, Table name: test_table
Tablet Server UUID | Host | Port | Is Leader
----------------------------------+-----------------+-------+-----------
4cd055e0cf3b4165823747e3c349dc6f | 127.241.215.131 | 45963 | true
65a671158cd74ac3995f5c68180621b8 | 127.241.215.130 | 42211 | false
6b6ef15e7d4a471f92f4c1eca1a46638 | 127.241.215.129 | 36321 | false
Change-Id: Ib5ae5f61f50a44c4787843df76adaa61700ae9fe
---
M src/kudu/client/client-internal.cc
M src/kudu/client/client-internal.h
M src/kudu/client/client.cc
M src/kudu/client/client.h
M src/kudu/client/tablet-internal.cc
M src/kudu/client/tablet-internal.h
M src/kudu/master/catalog_manager.cc
M src/kudu/master/catalog_manager.h
M src/kudu/master/master.proto
M src/kudu/master/master_service.cc
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool.proto
M src/kudu/tools/tool_action_tablet.cc
13 files changed, 273 insertions(+), 79 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/01/19501/12
--
To view, visit http://gerrit.cloudera.org:8080/19501
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib5ae5f61f50a44c4787843df76adaa61700ae9fe
Gerrit-Change-Number: 19501
Gerrit-PatchSet: 12
Gerrit-Owner: Wang Xixu <14...@qq.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: KeDeng <kd...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Wang Xixu <14...@qq.com>
Gerrit-Reviewer: Yingchun Lai <la...@apache.org>
Gerrit-Reviewer: Yuqi Du <sh...@gmail.com>