You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Aryan Gupta (Jira)" <ji...@apache.org> on 2026/10/05 09:07:00 UTC
[jira] [Created] (HDDS-16718) Include node health state counts in NodeStateMap.toString()
Aryan Gupta created HDDS-16718:
----------------------------------
Summary: Include node health state counts in NodeStateMap.toString()
Key: HDDS-16718
URL: https://issues.apache.org/jira/browse/HDDS-16718
Project: Apache Ozone
Issue Type: Improvement
Reporter: Aryan Gupta
Assignee: Aryan Gupta
{{NodeStateMap.toString()}} currently displays only the total number of datanodes. It should also display how many datanodes are in each health state.
Update the method to include counts for all {{NodeState}} values, such as {{{}HEALTHY{}}}, {{{}STALE{}}}, and {{{}DEAD{}}}. Also, add a unit test for the generated output.
Currently, it produces something similar to:
{{Total number of nodes: 5}}
The new output should contain more information:
{{Total number of nodes: 5, HEALTHY: 3, STALE: 1, DEAD:}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org