[
https://issues.apache.org/jira/browse/HDFS-14162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16739920#comment-16739920
]
Konstantin Shvachko commented on HDFS-14162:
--------------------------------------------
I see that {{CombinedProxyBuilder}} combines methods from multiple interfaces
into a HashMap, in order to find them during invocation.
Can the same be done by calling {{Proxy.newProxyInstance(ClassLoader,
Class<?>[] interfaces, InvocationHandler)}} where {{interfaces = {proxy1,
proxy2, proxy3}}}? I believe {{newProxyInstance()}} should do something similar
internally, so we wont need custom wrappers to emulate this.
> 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.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: [email protected]
For additional commands, e-mail: [email protected]