SaketaChalamchala commented on code in PR #5071:
URL: https://github.com/apache/ozone/pull/5071#discussion_r1265959322
##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/bucket/CreateBucketHandler.java:
##########
@@ -109,8 +110,12 @@ public void execute(OzoneClient client, OzoneAddress
address)
}
}
- replication.fromParams(getConf()).ifPresent(config ->
- bb.setDefaultReplicationConfig(new DefaultReplicationConfig(config)));
+ ReplicationConfig replicationConfig =
+ replication.fromParamsOrConfig(getConf());
+ if (replicationConfig != null) {
+ bb.setDefaultReplicationConfig(
+ new DefaultReplicationConfig(replicationConfig));
+ }
Review Comment:
Yes, you're right. This should be a simple docker compose change. I updated
the patch. Thanks @adoroszlai !
--
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]