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

Konstantin Shvachko commented on HADOOP-7155:
---------------------------------------------

I agree with both of you, that Server.CURRENT_VERSION is the basis of all 
VersionedProtocol and that it defines the serialization format. But I don't 
understand why it should be defined on the Server.
If I write a new alternative server (or a client), which talks the same 
language as current VersionedProtocol I want to inherit the constant from the 
protocol, rather than the old server.
CURRENT_VERSION may also belong to Writable, I can understand that, but Server?

> Move ipc.Server#CURRENT_VERSION constant to VersionedProtocol.
> --------------------------------------------------------------
>
>                 Key: HADOOP-7155
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7155
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 0.20.0
>            Reporter: Konstantin Shvachko
>
> Constant o.a.h.ipc.Server#CURRENT_VERSION defines RPC version. It should be 
> tied to the  VersionedProtocol interface rather than the ipc.Server 
> implementation.

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

        

Reply via email to