HDFS-14247. Repeat adding node description into network topology. Contributed by HuangTao.

This commit is contained in:
Inigo Goiri 2019-03-01 09:18:51 -08:00
parent dcaca19871
commit 80b77deb42

View File

@ -1134,7 +1134,6 @@ public class DatanodeManager {
nodeDescr.setDependentHostNames( nodeDescr.setDependentHostNames(
getNetworkDependenciesWithDefault(nodeDescr)); getNetworkDependenciesWithDefault(nodeDescr));
} }
networktopology.add(nodeDescr);
nodeDescr.setSoftwareVersion(nodeReg.getSoftwareVersion()); nodeDescr.setSoftwareVersion(nodeReg.getSoftwareVersion());
resolveUpgradeDomain(nodeDescr); resolveUpgradeDomain(nodeDescr);