[ 
https://issues.apache.org/jira/browse/HADOOP-6132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728895#action_12728895
 ] 

Owen O'Malley commented on HADOOP-6132:
---------------------------------------

Shouldn't the protocol be defined as:

Class<? extends VersionedProtocol> protocol;



> RPC client opens 2 connections per real protocol
> ------------------------------------------------
>
>                 Key: HADOOP-6132
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6132
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: 1.patch
>
>
> RPC client caches connections per protocol. However, since all of our real 
> protocols are subclasses of VersionedProtocol, a bug in the implementation 
> makes the client opens an extra connection just for the VersionedProtocol, 
> which is not needed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to