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

Andres Perez updated HADOOP-13781:
----------------------------------
    Attachment: HADOOP-13781.4.patch

Waiting before throwing the exeception 
{{ActiceStanbyElector#reEstablishSession}} is just a waste of time, reverting 
the order on this patch

> ZKFailoverController#initZK should use the ActiveStanbyElector constructor 
> with failFast as false
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-13781
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13781
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ha
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Andres Perez
>            Priority: Minor
>         Attachments: HADOOP-13781.2.patch, HADOOP-13781.3.patch, 
> HADOOP-13781.4.patch, HADOOP-13781.patch
>
>
> YARN-4243 introduced the logic that lets retry establishing the connection 
> when initializing the {{ActiveStandbyElector}} adding the parameter 
> {{failFast}}.
> {{ZKFailoverController#initZK}} should use this constructor with {{failFast}} 
> set to false, to let the ZFKC wait longer for the Zookeeper server be in a 
> ready state when first initializing it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to