Details
Description
I find there is a duplicate code to add nodeDescr to networktopology in the DatanodeManager.java#registerDatanode.
It firstly call networktopology.add(nodeDescr), and then call addDatanode(nodeDescr) to add nodeDescr again
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-10865 Datanodemanager adds nodes twice to NetworkTopology
- Resolved
- is related to
-
HDFS-4521 invalid network topologies should not be cached
- Closed