adoroszlai commented on code in PR #8316:
URL: https://github.com/apache/ozone/pull/8316#discussion_r2074700906
##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/RandomKeyGenerator.java:
##########
@@ -168,6 +169,11 @@ enum FreonOps {
defaultValue = "1")
private int numOfValidateThreads = 1;
+ @Option(names = {"--validate-channel"},
+ description = "grpc or short-circuit.",
+ defaultValue = "grpc")
+ private String validateChannel = "grpc";
Review Comment:
> For the enum suggestion, I would prefer to keep using the String.
Can you please explain the reason?
--
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]