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

Sanjay Radia commented on HADOOP-7524:
--------------------------------------

Attached patch allows the server to support multiple protocols including 
multiple versions of the same protocol.

* Server can add additional protocols and protocolImpls to a rpc server using 
#RPC.addProtocol
* Server side keeps a list of protocols and versions
* Can add an annotation to a protocol to give its protocol name (default is the 
class name as before) this
allows one to use different classes to implement different versions of the same 
protocol.
* Better support for Mixins (call now contains the declaring class along with 
method name).
* Inherited interfaces automatically added (this allows compatibility with old 
usage and also allows mixins)
* See ipc/TestMulitpleProtocolServer for examples

> Change RPC to allow multiple protocols including multuple versions of the 
> same protocol
> ---------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7524
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7524
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>


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

        

Reply via email to