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


##########
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:
   I think we are also doing this as part of `OmRPCLoadGenerator`.



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