Stephen O'Donnell created HDDS-10304:
----------------------------------------
Summary: [DiskBalancer] Start command - Fix nodes not being
processed and incorrect config values
Key: HDDS-10304
URL: https://issues.apache.org/jira/browse/HDDS-10304
Project: Apache Ozone
Issue Type: Sub-task
Components: Ozone CLI, SCM
Reporter: Stephen O'Donnell
Assignee: Stephen O'Donnell
Fix various problems with the disk balancer start command:
1. When using -a for all datanodes, the hosts appear as an empty list due to
the way the protobuf is deserialized, resulting in no hosts getting processed.
2. All the config values appear at zero, as if the proto value is not set for a
double, it returns 0.0, so we need to check for has<field> and set an optional
or empty
3. The isHealthy check needed negated, as it was excluding healthy nodes rather
than unhealthy ones resulting in no nodes getting processed.
I also added a log message or two so we can have a record in the SCM log of the
command being sent.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]