From 9daa45f646d9eddda21c087c23e6d1498f98c055 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. (cherry picked from commit 80b77deb42a3ef94d6bef160bc58d807f2faa104) (cherry picked from commit 96371245357bda63b3ede10f37a37f5333a85d69) (cherry picked from commit 90b88db35d42f2eab4da7f192a5fb99d9c834abb) --- .../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 1fb27c70b23..61fa8427928 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 @@ -1130,7 +1130,6 @@ public class DatanodeManager { nodeDescr.setDependentHostNames( getNetworkDependenciesWithDefault(nodeDescr)); } - networktopology.add(nodeDescr); nodeDescr.setSoftwareVersion(nodeReg.getSoftwareVersion()); resolveUpgradeDomain(nodeDescr);