adoroszlai commented on code in PR #6037:
URL: https://github.com/apache/ozone/pull/6037#discussion_r1468375926


##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OmMetadataGenerator.java:
##########
@@ -157,6 +167,9 @@ enum Operation {
   private Operation[] operations;
   private boolean mixedOperation = false;
 
+  private final ReplicationConfig ratisThree =
+      ReplicationConfig.fromProtoTypeAndFactor(ReplicationType.RATIS, 
ReplicationFactor.THREE);

Review Comment:
   Replication can be added as CLI option easily:
   
   
https://github.com/apache/ozone/blob/5983ccc0ef66defa8ae27cd09ac0f1ca3471bcb0/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OzoneClientKeyGenerator.java#L80-L81
   
   
https://github.com/apache/ozone/blob/5983ccc0ef66defa8ae27cd09ac0f1ca3471bcb0/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OzoneClientKeyGenerator.java#L106



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