Botong Huang created YARN-6213:
----------------------------------
Summary: Failure handling and retry for performFailover in
RetryInvocationHandler
Key: YARN-6213
URL: https://issues.apache.org/jira/browse/YARN-6213
Project: Hadoop YARN
Issue Type: Bug
Reporter: Botong Huang
Assignee: Botong Huang
Priority: Minor
In {{RetryInvocationHandler}}, when the method invocation fails, we reply on
{{FailoverProxyProvider}} to performFailover and get a new proxy, so that we
can retry the method invocation.
However, the performFailover and get new proxy itself might fail (throw
exception or return null proxy). This is not handled properly currently, we end
up throwing the exception out of the while loop. Instead, we should catch the
exception (or check for null proxy) and retry performFailover again, until the
max fail over count reaches the maximum.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]