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

Suresh Srinivas commented on HDFS-2581:
---------------------------------------

Here is the approach for implementing for protobuf service:
Protobuf service generated code has BlockingInterface, which is expected to be 
implemented by Server. However, the existing protocol interface has various 
annotations (such as kerberos, idempotent etc.). The existing protocol 
interfaces also have version information and protocol signature, from 
VersionedProtocol interface. To support that:
# An interface that extends generated BlockingInteface and VersionedProtocol is 
added.
# In this interface all required annotations and implementations of 
VersionedProtocol methods are provided.
# Server implementation extends this interface.
# In a subsequent jira, which switches the RPC to use protobuf, the above 
interface will be used as interface on the server side.

                
> Implement protobuf service for JournalProtocol
> ----------------------------------------------
>
>                 Key: HDFS-2581
>                 URL: https://issues.apache.org/jira/browse/HDFS-2581
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: name-node
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.24.0
>
>         Attachments: HDFS-2581.txt
>
>
> This jira adds implementation for JournalProtocol protobuf service along the 
> same lines as HDFS-2181

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