sreejasahithi commented on PR #8520: URL: https://github.com/apache/ozone/pull/8520#issuecomment-2929052806
> `usageinfo` can already list out nodes in descending/ascending order. I don't know if it has a json option though. yes your right `usageinfo` does list descending/ascending order but usageinfo command is used when we want more specific information. But adding the CLI options `--most-used` and `--least-used` to `ozone admin datanode list` is to just get the datanodes listed in a particular order based on their usage and we are not providing any detailed information as in usageinfo command. @errose28 should we keep CLI options `--most-used` and `--least-used` only in list command and remove from usageinfo command or keep it in both since this option is just about ordering? -- 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]
