Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E4191200BC1 for ; Wed, 2 Nov 2016 01:25:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E2C07160B02; Wed, 2 Nov 2016 00:25:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 358CD160B07 for ; Wed, 2 Nov 2016 01:25:00 +0100 (CET) Received: (qmail 92992 invoked by uid 500); 2 Nov 2016 00:24:59 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 92941 invoked by uid 99); 2 Nov 2016 00:24:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2016 00:24:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1A2392C0D55 for ; Wed, 2 Nov 2016 00:24:59 +0000 (UTC) Date: Wed, 2 Nov 2016 00:24:59 +0000 (UTC) From: "Andres Perez (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-13781) ZKFailoverController#initZK should use the ActiveStanbyElector constructor with failFast as false MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 02 Nov 2016 00:25:01 -0000 [ 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-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org