ChenSammi commented on a change in pull request #931: HDDS-1586. Allow Ozone
RPC client to read with topology awareness.
URL: https://github.com/apache/hadoop/pull/931#discussion_r293335822
##########
File path:
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/ScmConfigKeys.java
##########
@@ -363,6 +363,10 @@
"ozone.scm.network.topology.schema.file";
public static final String OZONE_SCM_NETWORK_TOPOLOGY_SCHEMA_FILE_DEFAULT =
"network-topology-default.xml";
+ public static final String DFS_NETWORK_TOPOLOGY_AWARE_READ_ENABLED =
+ "dfs.network.topology.aware.read.enable";
+ public static final String DFS_NETWORK_TOPOLOGY_AWARE_READ_ENABLED_DEFAULT =
+ "true";
Review comment:
Currently, "dfs.network.topology.aware.read.enable" controls the client
whether to read from the closest data node or not. The location sort process
always happens on the om/scm side. Do you suggest to make this property a
server side configuration?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]