You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "chrisGe123 (via GitHub)" <gi...@apache.org> on 2023/01/31 00:01:46 UTC

[GitHub] [ozone] chrisGe123 commented on a diff in pull request #3997: HDDS-7450. Improve bucket creation message

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


##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -668,13 +668,21 @@ public void createBucket(
       builder.setDefaultReplicationConfig(defaultReplicationConfig);
     }
 
+    String replicationType = defaultReplicationConfig == null 
+        ? "with server-side default replication type"
+        : defaultReplicationConfig.getType().toString();
+
     String layoutMsg = bucketLayout != null
         ? "with bucket layout " + bucketLayout
         : "with server-side default bucket layout";
     LOG.info("Creating Bucket: {}/{}, {}, {} as owner, Versioning {}, " +
-            "Storage Type set to {} and Encryption set to {} ",
+            "Storage Type set to {} and Encryption set to {}, " +
+            "Replication Type set to {}, Namespace Quota set to {}, " + 

Review Comment:
   thanks, @DaveTeng0 , I have finished the code changes but have some issues with my account of github, will submit this commit today or tomorrow.



-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org