hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andres Perez (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13781) ZKFailoverController#initZK should use the ActiveStanbyElector constructor with failFast as false
Date Wed, 02 Nov 2016 19:08:58 GMT

     [ 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.5.patch

Added test ensuring that {{ActiveStandbyElector}} constructor throws the expected exception
when trying to connect with {{failFast = false}} and do not fail silently ensuring {{ZKFailoverController#initZK}}
works properly. Also the log now records the number of attempts and not just the exception
thrown

> 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: 2.8.0, 3.0.0-alpha1
>            Reporter: Andres Perez
>            Priority: Minor
>         Attachments: HADOOP-13781.2.patch, HADOOP-13781.3.patch, HADOOP-13781.4.patch,
HADOOP-13781.5.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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message