DaveTeng0 commented on code in PR #3614:
URL: https://github.com/apache/ozone/pull/3614#discussion_r930467437
##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/protocol/ClientProtocol.java:
##########
@@ -701,6 +701,17 @@ TenantUserList listUsersInTenant(String tenantId, String
prefix)
*/
String getCanonicalServiceName();
+ /**
+ * Freon api to send request with or without payload to OM
+ * to benchmark RPC request performance.
+ *
+ * @param payload payload
Review Comment:
Thanks Ritesh!
##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/protocol/ClientProtocol.java:
##########
@@ -701,6 +701,17 @@ TenantUserList listUsersInTenant(String tenantId, String
prefix)
*/
String getCanonicalServiceName();
+ /**
+ * Freon api to send request with or without payload to OM
+ * to benchmark RPC request performance.
+ *
+ * @param payload payload
+ * @throws IOException if there is error in the RPC communication
+ * @return response in bytes.
+ */
+ byte[] postRPCReq(byte[] payload, boolean emptyResp) throws IOException;
Review Comment:
Thanks Ritesh!
--
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]