hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Botong Huang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-6213) Failure handling and retry for performFailover in RetryInvocationHandler
Date Wed, 22 Feb 2017 05:14:44 GMT
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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message