hadoop-common-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/HADOOP-14116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jian He updated HADOOP-14116:
-----------------------------
    Status: Patch Available  (was: Open)

> 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
>
>
> 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