ChenSammi commented on code in PR #8316:
URL: https://github.com/apache/ozone/pull/8316#discussion_r2074702417
##########
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:
There is no existing enum which includes both grpc and short-circuit, and I
also has no intend to create a new enum for that too because it's will be used
anywhere else.
--
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]