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

(cherry picked from commit 80b77deb42)
(cherry picked from commit 9637124535)
(cherry picked from commit 90b88db35d)
This commit is contained in:
Inigo Goiri 2019-03-01 09:18:51 -08:00 committed by Wei-Chiu Chuang
parent 9aae8b05a7
commit 9daa45f646
1 changed files with 0 additions and 1 deletions

View File

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