xichen01 commented on code in PR #6037:
URL: https://github.com/apache/ozone/pull/6037#discussion_r1466516805
##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OmMetadataGenerator.java:
##########
@@ -70,17 +75,22 @@ public class OmMetadataGenerator extends BaseFreonGenerator
enum Operation {
CREATE_FILE,
+ CREATE_STREAM_FILE,
Review Comment:
Done.
##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OmMetadataGenerator.java:
##########
@@ -449,6 +499,26 @@ private void applyOperation(long counter) throws Exception
{
}
);
break;
+ case EMPTY_RPC:
+ getMetrics().timer(operation.name()).time(() -> {
+ try {
+ ozoneManagerClient.echoRPCReq(new byte[] {}, 0, false);
+ } catch (IOException e) {
+ throw new RuntimeException(e);
+ }
+ }
+ );
+ break;
+ case EMPTY_RPC_WRITE_RATIS:
Review Comment:
Removed
--
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]