Stephen O'Donnell created HDDS-10299:
----------------------------------------
Summary: [DiskBalancer] Status command should output all statuses
by default
Key: HDDS-10299
URL: https://issues.apache.org/jira/browse/HDDS-10299
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Stephen O'Donnell
Assignee: Stephen O'Donnell
The current status command only shows nodes where the disk balancer is RUNNING.
The different states can be filtered via the -s switch (RUNNING, STOPPED,
UNKNOWN).
It would be better to just output all the states by default and then allow them
to be filtered with the -s switch.
This change also simplifies the code in the CLI command a little by using an
enum for the status state value, rather than a string, which can result in
better errors if a wrong value is given.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]