KeDeng has uploaded this change for review. ( http://gerrit.cloudera.org:8080/21672
Change subject: [tool] sandardize the output of rebalance report tool ...................................................................... [tool] sandardize the output of rebalance report tool I discovered that in environments with authentication enabled, if the kinit operation is not performed and the 'kudu cluster rebalance §ma -report_only' command is used to query the rebalance progress, an output similar to 'I20240812 19:23:29.041643 15510 tool_action_cluster.cc:275] no version information from some servers; not rebalancing single-replica tablets as the result an empty cluster' is returned.This output can mislead our users. In this patch, I have fixed this unauthorized error output and added corresponding unit tests to verify the new logic. Change-Id: If844be1f7ccd156582f1ffa7137c8a711c49178d --- M src/kudu/integration-tests/security-itest.cc M src/kudu/tools/ksck.cc M src/kudu/tools/ksck.h M src/kudu/tools/tool_action_cluster.cc 4 files changed, 38 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/72/21672/1 -- To view, visit http://gerrit.cloudera.org:8080/21672 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: If844be1f7ccd156582f1ffa7137c8a711c49178d Gerrit-Change-Number: 21672 Gerrit-PatchSet: 1 Gerrit-Owner: KeDeng <[email protected]>
