[ 
https://issues.apache.org/jira/browse/HADOOP-14116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15883437#comment-15883437
 ] 

Hudson commented on HADOOP-14116:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11303 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/11303/])
HADOOP-14116:FailoverOnNetworkExceptionRetry does not wait when failover 
(xgong: rev 289bc50e663b882956878eeaefe0eaa1ef4ed39e)
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryPolicies.java


> FailoverOnNetworkExceptionRetry does not wait when failover on certain 
> exception 
> ---------------------------------------------------------------------------------
>
>                 Key: HADOOP-14116
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14116
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Jian He
>             Fix For: 2.9.0, 3.0.0-alpha3
>
>         Attachments: HADOOP-14116.1.patch, HADOOP-14116.2.patch
>
>
> Below code, when doing failover, it does not wait like other condition does, 
> which leads to a busy loop. 
> {code}
>    } else if (e instanceof SocketException
>           || (e instanceof IOException && !(e instanceof RemoteException))) {
>         if (isIdempotentOrAtMostOnce) {
>           return RetryAction.FAILOVER_AND_RETRY;
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to