aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sirois (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AURORA-1944) Aurora is unable to elect leader after losing ZK for an extended period of time
Date Tue, 08 Aug 2017 18:02:00 GMT

    [ https://issues.apache.org/jira/browse/AURORA-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16118748#comment-16118748
] 

John Sirois edited comment on AURORA-1944 at 8/8/17 6:01 PM:
-------------------------------------------------------------

The 1st problem you point out is only a problem because of the 2nd problem - that's the root.
Retry is implemented via shutdown, so shutdown needs to work. Fixing an illegal CONSTRUCTED
-> STOPPED with a flip from sync to async groupCache seems fishy, digging in to that code
later today...


was (Author: jsirois):
The 1st problem you point out is only a problem because of the 2nd problem - that's the root.
Retry is implemented via shutdown, so shutdown needs to work. Fixing an illegal CONSTRUCTED
-> STOPPED with a flip from sync to asycn groupCache seems fishy, digging in to that code
now.

> 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)

Mime
View raw message