mukul1987 commented on a change in pull request #236: HDDS-2284.
XceiverClientMetrics should be initialised as part of XceiverClientManager
constructor.
URL: https://github.com/apache/hadoop-ozone/pull/236#discussion_r348893132
##########
File path:
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestWatchForCommit.java
##########
@@ -129,6 +129,11 @@ private String getKeyName() {
return UUID.randomUUID().toString();
}
+ private XceiverClientMetrics getXceiverClientMetrics() {
+ RpcClient rpc = (RpcClient)client.getObjectStore().getClientProxy();
+ return rpc.getXceiverClientManager().getMetrics();
+ }
+
Review comment:
Done in the next patch
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]