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

Jitendra Nath Pandey commented on HADOOP-7227:
----------------------------------------------

 This patch does not change the semantics of protocol versions. It only moves 
the version check from client at proxy creation to rpc call at server, and thus 
saving a round-trip of messages.
 HADOOP-6904 introduced isMethodSupported in ProtocolProxy, which needs server 
methods. That logic is also maintained except that the server methods are 
fetched when isMethodSupported is called for the first time.

> Remove protocol version check at proxy creation in Hadoop RPC.
> --------------------------------------------------------------
>
>                 Key: HADOOP-7227
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7227
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Jitendra Nath Pandey
>            Assignee: Jitendra Nath Pandey
>         Attachments: HADOOP-7227.2.patch
>
>
> Currently when a proxy is created for a protocol, there is a round trip of 
> messages to check the protocol version. The protocol version is not checked 
> in any subsequent rpc which could be a problem if the server restarts with a 
> new protocol version. This issue and also the additional round-trip at proxy 
> creation can be avoided if we add the protocol version in every rpc, and 
> server checks the protocol version for every call.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to