apurtell commented on a change in pull request #2669:
URL: https://github.com/apache/hbase/pull/2669#discussion_r526449638



##########
File path: 
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AbstractRpcClient.java
##########
@@ -390,8 +391,8 @@ private void onCallFinished(Call call, HBaseRpcController 
hrc, InetSocketAddress
   }
 
   Call callMethod(final Descriptors.MethodDescriptor md, final 
HBaseRpcController hrc,
-      final Message param, Message returnType, final User ticket, final 
InetSocketAddress addr,
-      final RpcCallback<Message> callback) {
+      final Message param, Message returnType, final User ticket,
+      final InetSocketAddress inetAddr, final RpcCallback<Message> callback) {

Review comment:
       I can't do this or else there will be a `new InetSocketAddress()` for 
every callMethod(), which may cause a DNS lookup per call. 




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


Reply via email to