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

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

View File

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