[
https://issues.apache.org/jira/browse/HDFS-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172597#comment-13172597
]
Todd Lipcon commented on HDFS-2678:
-----------------------------------
+1 modulo one comment: should use IPC_CLIENT_CONNECT_MAX_RETRIES_KEY instead of
hardcoding the string. I'll make this change and commit it (atm left for
vacation this morning)
> HA: When a FailoverProxyProvider is used, DFSClient should not retry
> connection ten times before failing over
> -------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-2678
> URL: https://issues.apache.org/jira/browse/HDFS-2678
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, hdfs client
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Aaron T. Myers
> Assignee: Aaron T. Myers
> Attachments: HDFS-2678.patch
>
>
> Even though the {{FailoverOnNetworkExceptionRetry}} retry policy tries to
> fail over immediately, in the event the active is down, o.a.h.ipc.Client
> (below the RetryPolicy) will retry the initial connection 10 times before
> bubbling up this exception to the RetryPolicy. This should be much quicker.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira