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

Konstantin Boudnik commented on HDFS-928:
-----------------------------------------

Last sentence has to say:
"...: I'm not rejecting..." 

Let's get those comments editing back :)

> Ability to provide custom DatanodeProtocol implementation
> ---------------------------------------------------------
>
>                 Key: HDFS-928
>                 URL: https://issues.apache.org/jira/browse/HDFS-928
>             Project: Hadoop HDFS
>          Issue Type: Wish
>          Components: data-node
>            Reporter: Zlatin Balevsky
>            Priority: Trivial
>
> This should make testing easier as well as allow users to provide their own 
> RPC/namenode implementations.  It's pretty straightforward:
> 1. add 
> interface DatanodeProtocolProvider {
>   DatanodeProtocol getNameNode(Configuration conf);
> }
> 2. add a config setting like "dfs.datanode.protocol.impl"
> 3. create a default implementation and copy/paste the RPC initialization code 
> there

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to