Will Berkeley has uploaded this change for review. ( http://gerrit.cloudera.org:8080/11666
Change subject: [tools] Add locate row tool ...................................................................... [tools] Add locate row tool Sometimes while debugging I find it frustrating that it's very difficult to tell what tablet a particular row belongs to. This basic tool provides a way to find out, by providing a simple interface that accepts a primary key as a CSV and will print out the table id of the corresponding tablet, or an error if there is no such tablet. A note about tests: it's difficult to verify the answer of the tool independently. However, the implementation is just scan tokens, so the tablet-finding logic should be well-exercised by lots of other client tests. Consequently, the tests focus on error cases and sanity checks. Change-Id: Idcdcf10bfe6b9df686e86b7134e8634fc0efaac3 --- M src/kudu/tools/kudu-admin-test.cc M src/kudu/tools/tool_action_table.cc 2 files changed, 348 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/66/11666/1 -- To view, visit http://gerrit.cloudera.org:8080/11666 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Idcdcf10bfe6b9df686e86b7134e8634fc0efaac3 Gerrit-Change-Number: 11666 Gerrit-PatchSet: 1 Gerrit-Owner: Will Berkeley <[email protected]>
