Wang Xixu has uploaded this change for review. ( 
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 can not use the return status to know whether it is failed or
successful. Only the log can show some useful message. In some case,
using a Python script to call 'local_replica copy_from_remote'
command to copy tablets. Python script can not known it is failed
or not.

This patch fix this problem and return a non-ok status when some
tablets copying failed.

Change-Id: Ic957cbc379645e0607c1c2a3bc568e20afc126b2
---
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool_action_local_replica.cc
2 files changed, 34 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/89/21089/1
--
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: newchange
Gerrit-Change-Id: Ic957cbc379645e0607c1c2a3bc568e20afc126b2
Gerrit-Change-Number: 21089
Gerrit-PatchSet: 1
Gerrit-Owner: Wang Xixu <[email protected]>

Reply via email to