You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "sreejasahithi (via GitHub)" <gi...@apache.org> on 2025/09/12 08:32:48 UTC

[PR] HDDS-13096. Counter for total volumes and healthy volumes per node in datanode list command [ozone]

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-unsubscribe@ozone.apache.org

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


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


Re: [PR] HDDS-13096. Counter for total volumes and healthy volumes per node in datanode list command [ozone]

Posted by "sadanand48 (via GitHub)" <gi...@apache.org>.
sadanand48 commented on PR #9023:
URL: https://github.com/apache/ozone/pull/9023#issuecomment-3430893966

   Thanks @sreejasahithi for the patch. @sarvekshayr, @errose28 for the reviews.


-- 
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-unsubscribe@ozone.apache.org

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


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


Re: [PR] HDDS-13096. Counter for total volumes and healthy volumes per node in datanode list command [ozone]

Posted by "sadanand48 (via GitHub)" <gi...@apache.org>.
sadanand48 merged PR #9023:
URL: https://github.com/apache/ozone/pull/9023


-- 
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-unsubscribe@ozone.apache.org

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


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


Re: [PR] HDDS-13096. Counter for total volumes and healthy volumes per node in datanode list command [ozone]

Posted by "errose28 (via GitHub)" <gi...@apache.org>.
errose28 commented on PR #9023:
URL: https://github.com/apache/ozone/pull/9023#issuecomment-3285799043

   Thanks for adding this @sreejasahithi. Can you also share the output of the json version of this command?


-- 
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-unsubscribe@ozone.apache.org

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


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