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

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

  ProtocolMetaInterface is supposed to be used to obtain information about 
underlying protocol e.g. to check if a method is supported on the server side. 
Its implementation creates ProtocolMetaInfoPB connection to server and gets 
protocol signatures. For (contrived)example, in future if we want to add a 
method to find how many versions of the given protocol are supported at the 
server, we could add a method in this interface.
 
 I think ProtocolTranslator was added as a mechanism to expose the proxy so as 
to reach the connectionId.
 They have two very different purposes.
                
> Unify ProtocolMetaInterface and ProtocolTranslator interface
> ------------------------------------------------------------
>
>                 Key: HADOOP-8044
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8044
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ha, ipc
>    Affects Versions: HA Branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Aaron T. Myers
>            Priority: Minor
>             Fix For: HA Branch (HDFS-1623)
>
>
> In the HA branch we have a "ProtocolTranslator" interface which we had to 
> add, and it seems to have the same purpose as the "ProtocolMetaInterface" 
> interface which got added in trunk in the meantime. We should unify the two.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to