siddhantsangwan opened a new pull request #1982:
URL: https://github.com/apache/ozone/pull/1982


   ## What changes were proposed in this pull request?
   
   Introduce `--most-used` and `--least-used` options in `UsageInfoSubcommand` 
to get the usage info of most used and least used datanodes, respectively. 
`--count` option can be used to specify number of nodes along with 
`--most-used` or `--least-used`.
   
   All options except `--count` are now exclusive.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-4872
   
   ## How was this patch tested?
   
   Tested using docker-compose. Screenshots have been attached below.
   
   <img width="798" alt="test1" 
src="https://user-images.githubusercontent.com/34305492/109654699-827e0e00-7b88-11eb-91f5-eef3fe050d4b.png";>
   <img width="945" alt="test2" 
src="https://user-images.githubusercontent.com/34305492/109654728-8ad64900-7b88-11eb-98b5-2c2ac3544a3a.png";>
   <img width="945" alt="test3" 
src="https://user-images.githubusercontent.com/34305492/109654772-96c20b00-7b88-11eb-9c75-68f8b45d2c0d.png";>
   <img width="945" alt="image" 
src="https://user-images.githubusercontent.com/34305492/109654829-ab9e9e80-7b88-11eb-8ac8-dbab46b94a7a.png";>
   


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

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