You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/03/05 08:47:00 UTC
[jira] [Commented] (HDFS-17752) Host2DatanodeMap will not update when re-register a node with a different hostname
[ https://issues.apache.org/jira/browse/HDFS-17752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17932550#comment-17932550 ]
ASF GitHub Bot commented on HDFS-17752:
---------------------------------------
liuwenjing17 opened a new pull request, #7468:
URL: https://github.com/apache/hadoop/pull/7468
…with a different hostname
### Description of PR
When same Dn restart with a different hostname, host2DatanodeMap needs to be updated accordingly.
### How was this patch tested?
org.apache.hadoop.hdfs.server.blockmanagement.TestDatanodeManager#testHost2NodeMapCorrectAfterReregister
### For code changes:
- [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files?
> Host2DatanodeMap will not update when re-register a node with a different hostname
> ----------------------------------------------------------------------------------
>
> Key: HDFS-17752
> URL: https://issues.apache.org/jira/browse/HDFS-17752
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Reporter: WenjingLiu
> Priority: Major
>
> We have HBase RegionServer running, if a DataNode is re-registered with a different hostname, RegionServer will always treat this type of DataNode as a DeadNode, because host2DatanodeMap is not updated accordingly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org