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 "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2019/06/22 02:42:00 UTC
[jira] [Commented] (HDFS-14247) Repeat adding node description into
network topology
[ https://issues.apache.org/jira/browse/HDFS-14247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16870025#comment-16870025 ]
Wei-Chiu Chuang commented on HDFS-14247:
----------------------------------------
[~elgoiri] you commented on HDFS-10865 that the same issue existed since Hadoop 2.7
Shall we cherry pick the fix into lower branches too?
> Repeat adding node description into network topology
> ----------------------------------------------------
>
> Key: HDFS-14247
> URL: https://issues.apache.org/jira/browse/HDFS-14247
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode
> Affects Versions: 3.3.0
> Reporter: HuangTao
> Assignee: HuangTao
> Priority: Minor
> Fix For: 3.3.0
>
> Attachments: HDFS-14247.001.patch
>
>
> I find there is a duplicate code to add nodeDescr to networktopology in the DatanodeManager.java#registerDatanode.
> It firstly call networktopology.add(nodeDescr), and then call addDatanode(nodeDescr) to add nodeDescr again
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org