Yingchun Lai has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/21672 )

Change subject: [tool] standardize the output of rebalance report tool
......................................................................

[tool] standardize 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
Reviewed-on: http://gerrit.cloudera.org:8080/21672
Reviewed-by: Yingchun Lai <[email protected]>
Tested-by: Yingchun Lai <[email protected]>
---
M src/kudu/integration-tests/security-itest.cc
M src/kudu/tools/tool_action_cluster.cc
2 files changed, 29 insertions(+), 5 deletions(-)

Approvals:
  Yingchun Lai: Looks good to me, approved; Verified

--
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: merged
Gerrit-Change-Id: If844be1f7ccd156582f1ffa7137c8a711c49178d
Gerrit-Change-Number: 21672
Gerrit-PatchSet: 5
Gerrit-Owner: KeDeng <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: KeDeng <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mahesh Reddy <[email protected]>
Gerrit-Reviewer: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Zoltan Chovan <[email protected]>

Reply via email to