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

Aaron T. Myers updated HDFS-2678:
---------------------------------

    Attachment: HDFS-2678.patch

Here's a patch which addresses the issue. No tests are included since the patch 
is pretty trivial. I tested this manually by starting up a pair of HA NNs and 
confirmed that no connection retries occur, only failover retries.
                
> 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

        

Reply via email to