Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/21089 )
Change subject: [Tool] Return not OK status when copying tablets failed ...................................................................... [Tool] Return not OK status when copying tablets failed Currently, 'local_replica copy_from_remote' command does not return a non-OK status when some tablets copying failed. Therefore it is not possible to use the return status to know whether it is failed or succeeded. Only the log can show some useful message. This patch fixes this problem so now the CLI tool exits with non-OK status code when some tablets failed to copy. Change-Id: Ic957cbc379645e0607c1c2a3bc568e20afc126b2 Reviewed-on: http://gerrit.cloudera.org:8080/21089 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Alexey Serbin <[email protected]> --- M src/kudu/tools/kudu-tool-test.cc M src/kudu/tools/tool_action_local_replica.cc 2 files changed, 36 insertions(+), 1 deletion(-) Approvals: Alexey Serbin: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/21089 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ic957cbc379645e0607c1c2a3bc568e20afc126b2 Gerrit-Change-Number: 21089 Gerrit-PatchSet: 5 Gerrit-Owner: Wang Xixu <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Wang Xixu <[email protected]>
