You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Botong Huang (JIRA)" <ji...@apache.org> on 2017/02/22 05:14:44 UTC
[jira] [Created] (YARN-6213) Failure handling and retry for
performFailover in RetryInvocationHandler
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: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org