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

Konstantin Shvachko commented on HDFS-14162:
--------------------------------------------

I attached testBalancerWithObserver-3.patch. It's a hacky way to combine two 
proxies.
My idea was to define {{BalancerProtocol}} as you did. Then through reflections 
find protocols it implements and use corresponding {{*PB}} implementations. 
There is a finite number of those, so we can use those we know and reject 
anything unknown.
Yes the idea is to avoid defining {{BalancerProtocolTranslatorPB}}.

> Balancer should work with ObserverNode
> --------------------------------------
>
>                 Key: HDFS-14162
>                 URL: https://issues.apache.org/jira/browse/HDFS-14162
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Konstantin Shvachko
>            Assignee: Erik Krogen
>            Priority: Major
>         Attachments: HDFS-14162-HDFS-12943.wip0.patch, HDFS-14162.000.patch, 
> testBalancerWithObserver-3.patch, testBalancerWithObserver.patch
>
>
> Balancer provides a substantial RPC load on NameNode. It would be good to 
> divert Balancer RPCs {{getBlocks()}}, etc. to ObserverNode. The main problem 
> is that Balancer uses {{NamenodeProtocol}}, while ORPP currently supports 
> only {{ClientProtocol}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to