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 970BE200CDA for ; Sat, 5 Aug 2017 00:00:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9584F16E5C5; Fri, 4 Aug 2017 22:00:10 +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 DA6BD16E5C1 for ; Sat, 5 Aug 2017 00:00:09 +0200 (CEST) Received: (qmail 30384 invoked by uid 500); 4 Aug 2017 22:00:09 -0000 Mailing-List: contact issues-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list issues@aurora.apache.org Received: (qmail 30375 invoked by uid 99); 4 Aug 2017 22:00:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2017 22:00:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9E8321A19BA for ; Fri, 4 Aug 2017 22:00:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id tpdtpTo5qZlP for ; Fri, 4 Aug 2017 22:00:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 923AF60D26 for ; Fri, 4 Aug 2017 22:00:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A14CFE0D6A for ; Fri, 4 Aug 2017 22:00:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A1BD424654 for ; Fri, 4 Aug 2017 22:00:04 +0000 (UTC) Date: Fri, 4 Aug 2017 22:00:04 +0000 (UTC) From: "Renan DelValle (JIRA)" To: issues@aurora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AURORA-1944) Aurora is unable to elect leader after losing ZK for an extended period of time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 04 Aug 2017 22:00:10 -0000 [ https://issues.apache.org/jira/browse/AURORA-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Renan DelValle updated AURORA-1944: ----------------------------------- Description: Using Apache Curator as the Zookeeper library causes an issue where Aurora is unable to elect a leader if Zookeeper loses quorum for an extended period of time. Scheduler seems to crash around: {{W0802 14:01:14.436 [TaskEventBatchWorker, SchedulerLifecycle] Failed to leave leadership: org.apache.aurora.common.zookeeper.SingletonService$LeaveException: Failed to abdicate leadership of group at /aurora/scheduler}} When the init system brings the scheduler back up, it is unable to elect a leader if ZK is still down. Specifically, the redirect monitor fails: {{E0802 14:09:37.063 [RedirectMonitor STARTING, GuavaUtils$LifecycleShutdownListener] Service: RedirectMonitor [FAILED] failed unexpectedly. Triggering shutdown.}} Leading to every scheduler showing the following: {{W0802 14:16:34.646 [qtp576711849-43, LeaderRedirect] No serviceGroupMonitor in host set, will not redirect despite not being leader.}} Once the scheduler enters this state, it is unable to snap out of it until it is manually restarted. was: Using Apache Curator as the Zookeeper library causes an issue where Aurora is unable to elect a leader if Zookeeper loses quorum for an extended period of time. Scheduler seems to crash around: {{W0802 14:01:14.436 [TaskEventBatchWorker, SchedulerLifecycle] Failed to leave leadership: org.apache.aurora.common.zookeeper.SingletonService$LeaveException: Failed to abdicate leadership of group at /aurora/scheduler }} When the init system brings the scheduler back up, it is unable to elect a leader if ZK is still down. Once the scheduler enters this state, it is unable to snap out of it until it is manually restarted. > Aurora is unable to elect leader after losing ZK for an extended period of time > ------------------------------------------------------------------------------- > > Key: AURORA-1944 > URL: https://issues.apache.org/jira/browse/AURORA-1944 > Project: Aurora > Issue Type: Bug > Components: Scheduler > Environment: Running on 0.17.0 > Reporter: Renan DelValle > Attachments: aurora-0.log, aurora-1.log, aurora-2.log > > > Using Apache Curator as the Zookeeper library causes an issue where Aurora is unable to elect a leader if Zookeeper loses quorum for an extended period of time. > Scheduler seems to crash around: > {{W0802 14:01:14.436 [TaskEventBatchWorker, SchedulerLifecycle] Failed to leave leadership: org.apache.aurora.common.zookeeper.SingletonService$LeaveException: Failed to abdicate leadership of group at /aurora/scheduler}} > When the init system brings the scheduler back up, it is unable to elect a leader if ZK is still down. > Specifically, the redirect monitor fails: > {{E0802 14:09:37.063 [RedirectMonitor STARTING, GuavaUtils$LifecycleShutdownListener] Service: RedirectMonitor [FAILED] failed unexpectedly. Triggering shutdown.}} > Leading to every scheduler showing the following: > {{W0802 14:16:34.646 [qtp576711849-43, LeaderRedirect] No serviceGroupMonitor in host set, will not redirect despite not being leader.}} > Once the scheduler enters this state, it is unable to snap out of it until it is manually restarted. -- This message was sent by Atlassian JIRA (v6.4.14#64029)