[
https://issues.apache.org/jira/browse/HADOOP-13781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15627182#comment-15627182
]
Andres Perez edited comment on HADOOP-13781 at 11/2/16 1:04 AM:
----------------------------------------------------------------
Waiting before throwing the exeception
{{ActiceStanbyElector#reEstablishSession}} is just a waste of time, inverting
the order on this patch
was (Author: aaperezl):
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: [email protected]
For additional commands, e-mail: [email protected]