Details
Description
In HDFS-11530 we introduce DFSNetworkTopology and in HDFS-11998 we set DFSNetworkTopology as the default implementation.
We still have net.topology.impl=org.apache.hadoop.net.NetworkTopology in core-site.default. Actually this property does not effect once dfs.use.dfs.network.topology is true.
in DatanodeManager,networkTopology is initialized as
if (useDfsNetworkTopology) { networktopology = DFSNetworkTopology.getInstance(conf); } else { networktopology = NetworkTopology.getInstance(conf); }
I think we should still make the NetworkTopology configurable rather than hard code the implementation since we may need another NetworkTopology impl.
I am not sure if there is other consideration. Any thought? vagarychen linyiqun
Attachments
Attachments
Issue Links
- relates to
-
HDFS-11530 Use HDFS specific network topology to choose datanode in BlockPlacementPolicyDefault
-
- Resolved
-
-
HDFS-11998 Enable DFSNetworkTopology as default
-
- Resolved
-