From 80b77deb42a3ef94d6bef160bc58d807f2faa104 Mon Sep 17 00:00:00 2001 From: Inigo Goiri Date: Fri, 1 Mar 2019 09:18:51 -0800 Subject: [PATCH] HDFS-14247. Repeat adding node description into network topology. Contributed by HuangTao. --- .../hadoop/hdfs/server/blockmanagement/DatanodeManager.java | 1 - 1 file changed, 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeManager.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeManager.java index 8a3f57b4b3a..049c949e8a4 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeManager.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeManager.java @@ -1134,7 +1134,6 @@ public class DatanodeManager { nodeDescr.setDependentHostNames( getNetworkDependenciesWithDefault(nodeDescr)); } - networktopology.add(nodeDescr); nodeDescr.setSoftwareVersion(nodeReg.getSoftwareVersion()); resolveUpgradeDomain(nodeDescr);