xiaoyuyao commented on a change in pull request #1184: HDDS-1865. Use 
"ozone.network.topology.aware.read" to control both RPC client and server side 
logic
URL: https://github.com/apache/hadoop/pull/1184#discussion_r309837092
 
 

 ##########
 File path: 
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/placement/algorithms/ContainerPlacementPolicyFactory.java
 ##########
 @@ -36,7 +36,7 @@
 
   private static final Class<? extends ContainerPlacementPolicy>
       OZONE_SCM_CONTAINER_PLACEMENT_IMPL_DEFAULT =
-      SCMContainerPlacementRandom.class;
+      SCMContainerPlacementRackAware.class;
 
 Review comment:
   Since we have ozone.network.topology.aware.read false by default, do we 
still need the placement policy to be SCMContainerPlacementRackAware by default?

----------------------------------------------------------------
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]

Reply via email to