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

   ## What changes were proposed in this pull request?
   Added total volume count and healthy volume count to per node listed by 
`ozone admin datanode list` command.
   
   ## What is the link to the Apache JIRA
   
   [HDDS-13096](https://issues.apache.org/jira/browse/HDDS-13096)
   
   ## How was this patch tested?
   
   https://github.com/sreejasahithi/ozone/actions/runs/17622294518
   
   Tested over docker by changing the permission of the volume directory
   ```
   bash-5.1$ ozone admin datanode list
   Datanode: 9e1b33e9-54cd-4e04-9ae4-d23519349790 
(/default-rack/172.18.0.9/ozone-datanode-2.ozone_default/2 pipelines)
   Operational State: IN_SERVICE
   Health State: HEALTHY
   Total volume count: 5
   Healthy volume count: 3
   Related pipelines:
   dc613e0b-8042-423e-80ba-f7fd952d267c/RATIS/ONE/RATIS/OPEN/Leader
   a195b651-928c-4ac4-a536-821c23668f3a/RATIS/THREE/RATIS/OPEN/Follower
   
   Datanode: d68132ba-a89c-4502-9d61-4f8a48ba0672 
(/default-rack/172.18.0.3/ozone-datanode-3.ozone_default/2 pipelines)
   Operational State: IN_SERVICE
   Health State: HEALTHY
   Total volume count: 5
   Healthy volume count: 3
   Related pipelines:
   cde5f8a9-a104-4259-8e32-de948a1c97c3/RATIS/ONE/RATIS/OPEN/Leader
   a195b651-928c-4ac4-a536-821c23668f3a/RATIS/THREE/RATIS/OPEN/Leader
   
   Datanode: 5148ce12-7382-4a76-90a4-894ed462a3fe 
(/default-rack/172.18.0.8/ozone-datanode-1.ozone_default/2 pipelines)
   Operational State: IN_SERVICE
   Health State: HEALTHY
   Total volume count: 5
   Healthy volume count: 3
   Related pipelines:
   a195b651-928c-4ac4-a536-821c23668f3a/RATIS/THREE/RATIS/OPEN/Follower
   240dc28e-4ccb-4b46-b8c0-0b9dbd214f6e/RATIS/ONE/RATIS/OPEN/Leader
   ```
   


-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to