sreejasahithi opened a new pull request, #8844: URL: https://github.com/apache/ozone/pull/8844
## What changes were proposed in this pull request? Currently, the ozone admin datanode list command allows users to combine node selection options (e.g., --node-id, --ip, --hostname) with usage sorting options (e.g., --most-used, --least-used). This combination leads to confusing command behavior. For instance, `ozone admin datanode list --most-used=true --node-id=<dn-id>` will attempt to filter to a single specified node and then sort by usage. This provides a misleading output to the user since the user would expect all the Dns to be listed in an order based on their usage. Hence we need to make node selection options and usage sorting options mutually exclusive for this command. ## What is the link to the Apache JIRA [HDDS-13486](https://issues.apache.org/jira/browse/HDDS-13486) ## How was this patch tested? https://github.com/sreejasahithi/ozone/actions/runs/16436557059 -- 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]
