Dinesh Bhat has posted comments on this change.
Change subject: Fix kudu-ts-cli crash when there is no data in tablet
......................................................................
Patch Set 6:
> Code change looks good, but how about a test in kudu-ts-cli-test?
Yess, thought about same after updating diffs; small piece of code lets me test
this path, however I am wondering how can we output a small dump_tablet output
to the test logfile(instead of usual stdout):
string exe_path = GetTsCliToolPath();
vector<string> argv;
argv.push_back(exe_path);
argv.push_back("--server_address");
argv.push_back(cluster_->tablet_server(0)->bound_rpc_addr().ToString());
argv.push_back("dump_tablet");
argv.push_back(tablet_id);
ASSERT_OK(Subprocess::Call(argv));
--
To view, visit http://gerrit.cloudera.org:8080/4134
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I8470377400047236127dd409b4825c5c6ea6bbae
Gerrit-PatchSet: 6
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Dinesh Bhat <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Dinesh Bhat <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-HasComments: No