slfan1989 opened a new pull request, #10457:
URL: https://github.com/apache/ozone/pull/10457

   ## What changes were proposed in this pull request?
   
   This PR aligns DiskBalancer batch-mode success messages with the actual 
datanode selection criteria used by `--in-service-datanodes`.
   
   The `--in-service-datanodes` option queries SCM for datanodes that are both 
in the IN_SERVICE operational state and HEALTHY node state. However, the 
success messages for the `start`, `stop`, and `update` subcommands previously 
said "all IN_SERVICE nodes", which did not mention the HEALTHY state filter.
   
   This PR updates the batch-mode success messages to say "all IN_SERVICE and 
HEALTHY nodes" for:
   - `ozone admin datanode diskbalancer start --in-service-datanodes`
   - `ozone admin datanode diskbalancer stop --in-service-datanodes`
   - `ozone admin datanode diskbalancer update --in-service-datanodes`
   
   The corresponding CLI unit test expectations and DiskBalancer acceptance 
test assertions are updated to match the corrected output.
   
   ## What is the link to the Apache JIRA
   
   JIRA: HDDS-15490. Align DiskBalancer batch CLI success messages with HEALTHY 
IN_SERVICE datanode selection.
   
   ## How was this patch tested?
   
   Add Junit Test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to