[
https://issues.apache.org/jira/browse/HDFS-15032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16988094#comment-16988094
]
Erik Krogen commented on HDFS-15032:
------------------------------------
This was caused because the {{RpcInvocationHandler}} defined as part of the
{{ProxyCombiner}} in HDFS-14162 didn't properly handle exceptions of type
{{InvocationTargetException}} that are thrown from the {{invoke()}}. I'm
attaching a v000 patch which fixes this and adds a test case in
{{TestBalancerWithHANameNodes}}. I also updated the {{toString()}} method of
the proxy created by {{ProxyCombiner}} to be more readable in a debugger.
> Balancer crashes when it fails to contact an NN via ObserverReadProxyProvider
> -----------------------------------------------------------------------------
>
> Key: HDFS-15032
> URL: https://issues.apache.org/jira/browse/HDFS-15032
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: balancer & mover
> Affects Versions: 2.10.0
> Reporter: Erik Krogen
> Assignee: Erik Krogen
> Priority: Major
>
> When trying to run the Balancer using ObserverReadProxyProvider (to allow it
> to read from the Observer Node as described in HDFS-14979), if one of the NNs
> isn't running, the Balancer will crash.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]