[
https://issues.apache.org/jira/browse/HDFS-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168581#comment-13168581
]
Doug Cutting commented on HDFS-2647:
------------------------------------
This should not have been committed without addressing the fact that it breaks
TestDfsOverAvroRpc. Prior to this, NameNodeRpcServer was independent of the
RPCEngine being used. One could switch the configured RPCEngine and HDFS would
still work. After this HDFS seems to only work with the ProtobufRPCEngine.
That's not simply 'enabling' protobuf RPC. That's mandating protobuf RPC. If
that's desired then support for other RPC systems should probably be removed,
e.g., remove TestDfsOverAvroRpc, remove AvroRPCEngine, remove Avro annotations
on HDFS protocols, perhaps even remove the RPCEngine abstraction, since it
would no longer perform any useful function. Either that, or figure out a way
to make protobuf RPC not mandated, but rather merely the default.
> Enable protobuf RPC for InterDatanodeProtocol, ClientDatanodeProtocol,
> JournalProtocol and NamenodeProtocol
> -----------------------------------------------------------------------------------------------------------
>
> Key: HDFS-2647
> URL: https://issues.apache.org/jira/browse/HDFS-2647
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: balancer, data-node, hdfs client, name-node
> Affects Versions: 0.24.0
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
> Attachments: HDFS-2647.txt, HDFS-2647.txt
>
>
> This jira changes the client and servers to use protobuf based RPC for the
> protocols mentioned in the Summary.
--
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