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

(cherry picked from commit 80b77deb42a3ef94d6bef160bc58d807f2faa104)
This commit is contained in:
Inigo Goiri 2019-03-01 09:18:51 -08:00 committed by Wei-Chiu Chuang
parent 0966407ad6
commit 9637124535

View File

@ -1134,7 +1134,6 @@ nodes with its data cleared (or user can just remove the StorageID
nodeDescr.setDependentHostNames(
getNetworkDependenciesWithDefault(nodeDescr));
}
networktopology.add(nodeDescr);
nodeDescr.setSoftwareVersion(nodeReg.getSoftwareVersion());
resolveUpgradeDomain(nodeDescr);