[ 
https://issues.apache.org/jira/browse/HDDS-16718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-16718:
----------------------------------
    Labels: pull-request-available  (was: )

> 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: Layam Pavan Venkat
>            Priority: Major
>              Labels: pull-request-available
>
> {{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:1}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to