[
https://issues.apache.org/jira/browse/HADOOP-6726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860883#action_12860883
]
Johannes Zillmann commented on HADOOP-6726:
-------------------------------------------
It would be fine if _ipc.client.connect.max.retries_ would also be applied to
SocketTimeoutException or another config value would be introduced!
> can't control maxRetries in case of SocketTimeoutException
> ----------------------------------------------------------
>
> Key: HADOOP-6726
> URL: https://issues.apache.org/jira/browse/HADOOP-6726
> Project: Hadoop Common
> Issue Type: Improvement
> Components: ipc
> Affects Versions: 0.20.2
> Reporter: Johannes Zillmann
>
> One can set _ipc.client.connect.max.retries_ for
> _org.apache.hadoop.ipc.Client_.
> This comes to effect on IOExceptions but not on SocketTimeoutException.
> Client$Connection:307:
> {code:java}
> } catch (SocketTimeoutException toe) {
> /* The max number of retries is 45,
> * which amounts to 20s*45 = 15 minutes retries.
> */
> handleConnectionFailure(timeoutFailures++, 45, toe);
> } catch (IOException ie) {
> handleConnectionFailure(ioFailures++, maxRetries, ie);
> }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.