chrisGe123 commented on code in PR #3997:
URL: https://github.com/apache/ozone/pull/3997#discussion_r1031920279


##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -668,13 +669,20 @@ public void createBucket(
       builder.setDefaultReplicationConfig(defaultReplicationConfig);
     }
 
+    ReplicationType replicationType = defaultReplicationConfig == null ?
+        ReplicationType.RATIS : defaultReplicationConfig.getType();

Review Comment:
   Can I just make the similar change like "layoutMsg" ? if the client doesn't 
set the replication, then we just mention "with server-side default replication 
type" ? @adoroszlai 
   
   ```
    String layoutMsg = bucketLayout != null
           ? "with bucket layout " + bucketLayout
           : "with server-side default bucket layout";
   ```
   



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to