You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2019/11/21 20:28:57 UTC

[GitHub] [hadoop-ozone] xiaoyuyao commented on a change in pull request #236: HDDS-2284. XceiverClientMetrics should be initialised as part of XceiverClientManager constructor.

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

 ##########
 File path: hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java
 ##########
 @@ -814,6 +814,11 @@ public void close() throws IOException {
     IOUtils.cleanupWithLogger(LOG, xceiverClientManager);
   }
 
+  @VisibleForTesting
+  public XceiverClientManager getXceiverClientManager() {
 
 Review comment:
   NIT: should we expose the XceiverClientMetris here instead of XceiverClientManager in RpcClient? It can be consumed directly by the callers (many of them are unit tests)?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org