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

terrytlu updated HDFS-17840:
----------------------------
    Attachment: image-2025-09-23-11-34-26-420.png

> The "Nodes in Service" information is incorrect under DFS Storage Types in 
> NameNode UI
> --------------------------------------------------------------------------------------
>
>                 Key: HDFS-17840
>                 URL: https://issues.apache.org/jira/browse/HDFS-17840
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: terrytlu
>            Priority: Major
>         Attachments: image-2025-09-23-11-34-05-562.png, 
> image-2025-09-23-11-34-26-420.png
>
>
> We found in a hadoop cluster, which has 26 nodes, while in NameNode UI, only 
> show 3 nodes
> !image-2025-09-23-11-25-25-313.png|width=694,height=124!
> we found the problem still exists after merge 
> https://issues.apache.org/jira/browse/HDFS-16402
>  
>  
>  
> Since the metrics here are calculated using real-time increments and 
> decrements, once a metric is corrupted, it cannot be restored. We recommend 
> modifying the implementation to retrieve the data from 
> org.apache.hadoop.hdfs.server.blockmanagement.DatanodeManager#datanodeMap to 
> ensure a consistent number of nodes in service.



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