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

   ## What changes were proposed in this pull request?
   
   Currently the disk balancer status command requires passing -c / --count to 
list any nodes as the default value of "count" is zero. If you omit the -c no 
results are returned.
   
   The default should allow the report to be produced. I propose setting the 
default to 25.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-10297
   
   ## How was this patch tested?
   Manually via docker-compose. After this change the output looks like:
   
   ```
   bash-4.2$ ozone admin datanode diskbalancer report
   Report result:
   Datanode                                           VolumeDensity
   ozone_datanode_1.ozone_default                     0.0
   ```
   
   Before, no results would have been returned unless a positive value was 
passed for -c
   


-- 
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