[
https://issues.apache.org/jira/browse/HDFS-17840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Srinivasu Majeti updated HDFS-17840:
------------------------------------
Attachment: before_cdp_upgrade_namenode.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
> Affects Versions: 3.2.2
> Reporter: terrytlu
> Priority: Major
> Attachments: before_cdp_upgrade_namenode.png,
> image-2025-09-23-11-34-26-420.png, latest_nodes_in_service_namenode.png
>
>
> We found in our hadoop cluster, which has 26 nodes, while in NameNode UI,
> only show 3 nodes
> !image-2025-09-23-11-34-26-420.png|width=720,height=253!
> the problem still exists after merge
> https://issues.apache.org/jira/browse/HDFS-16402 ,this metric modification
> involves multiple data fields and heartbeat logic, it is difficult to
> guarantee atomicity.
>
> And the metrics are calculated using real-time increments and decrements,
> once it is corrupted, it cannot be restored. We recommend change the
> implementation to retrieve the data from
> org.apache.hadoop.hdfs.server.blockmanagement.DatanodeManager#datanodeMap to
> ensure that data is neither lost nor duplicated.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]