hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14116) FailoverOnNetworkExceptionRetry does not wait when failover on certain exception
Date Fri, 24 Feb 2017 18:49:44 GMT

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

Xuan Gong commented on HADOOP-14116:
------------------------------------

+1 LGTM. Will commit it shortly

> 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
>         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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message