[ https://issues.apache.org/jira/browse/HDFS-15623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17219841#comment-17219841 ]
Hector Sandoval Chaverri commented on HDFS-15623: ------------------------------------------------- [Pull Request #2403|https://github.com/apache/hadoop/pull/2403] updates {{RPC.setProtocolEngine()}} to prevent configured values of {{rpc.engine}} from being overwritten. With the new behavior, we can use implementations of {{RpcEngine}} other than the default ({{ProtobufRpcEngine2}}) by specifying them in the Configuration (e.g. {{core-default.xml}}). > Respect configured values of rpc.engine > --------------------------------------- > > Key: HDFS-15623 > URL: https://issues.apache.org/jira/browse/HDFS-15623 > Project: Hadoop HDFS > Issue Type: Improvement > Components: hdfs > Reporter: Hector Sandoval Chaverri > Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > The HDFS Configuration allows users to specify the RPCEngine implementation > to use when communicating with Datanodes and Namenodes. However, the value is > overwritten to ProtobufRpcEngine.class in different classes. As an example in > NameNodeRpcServer: > {{RPC.setProtocolEngine(conf, ClientNamenodeProtocolPB.class, > ProtobufRpcEngine.class);}} > {{The configured value of rpc.engine.[protocolName] should be respected to > allow for other implementations of RPCEngine to be used}} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org