Will Berkeley has uploaded this change for review. ( http://gerrit.cloudera.org:8080/11684
Change subject: [tools] Add checking for row existence to the locate_row tool ...................................................................... [tools] Add checking for row existence to the locate_row tool This enhances the `kudu tablet locate_row` tool to that, in addition to locating which tablet a row with a given primary key would end up in, it also will check if the row actually exists when the -check_row_existence flag is supplied. If the row does not exist, the tool returns an error; if it does, it prints the row. Example invocation: $ bin/kudu table locate_row localhost:7053 default.loadgen_auto_49c97e85f6aa43b5a89723c7eee396b0 "[0]" -check_row_existence 850632cee25b43368cb6f226b53e76eb (int64 key=0, int32 int_val=1, string string_val="2.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx") Change-Id: I760d3fbb2e30a3ffba7143d3b51da6f3fd62b034 --- M src/kudu/tools/kudu-admin-test.cc M src/kudu/tools/tool_action_table.cc 2 files changed, 99 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/84/11684/1 -- To view, visit http://gerrit.cloudera.org:8080/11684 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I760d3fbb2e30a3ffba7143d3b51da6f3fd62b034 Gerrit-Change-Number: 11684 Gerrit-PatchSet: 1 Gerrit-Owner: Will Berkeley <[email protected]>
