Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C80E189A2 for ; Thu, 25 Jun 2015 15:56:01 +0000 (UTC) Received: (qmail 16347 invoked by uid 500); 25 Jun 2015 15:56:00 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 16295 invoked by uid 500); 25 Jun 2015 15:56:00 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 16284 invoked by uid 99); 25 Jun 2015 15:56:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2015 15:56:00 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of rgs@itevenworks.net does not designate 209.85.218.49 as permitted sender) Received: from [209.85.218.49] (HELO mail-oi0-f49.google.com) (209.85.218.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2015 15:53:46 +0000 Received: by oiyy130 with SMTP id y130so55703731oiy.0 for ; Thu, 25 Jun 2015 08:55:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=xFujk05U2NRBN65GQiAj34P1D41LWoTU3uAN9Wi+O/U=; b=QoWXfE6POYK6OvqNBRcLY6VSmWMV3d5E+8TOh/DGAfszDmTVHEs6bkabFDh3gZIojK BWsgHhvabXwjh3PYdgfQQihb+txF7bBzadP/cio7aLxl/2RNh/rzmjhv7hQAsdW2gAAa WJVtvYEKBf5I4lXowzGEeVypwVEdUKGRwVXB1HLMp3PqE3zBp52H9OpfhD5SLwRC0V+3 B2HqQB2swajEWmEP0K1DH27Vk03yc3BFRSC6nxTo9S3zMMhmiZq8+mYzpG7sczd9iw3e h9lbU4VkBOh8EjxirJ7EMtE8+ZqGJVqxHjbZGkDbGsPXp2Hpvgs+qGodyJgKmsS6li60 TCUQ== X-Gm-Message-State: ALoCoQny3NsQyiRdu+h5/ezrwDT0N8cU8IYC4uH2FKiJz0d59Lpw1j4xx1tFWgKIIJDjjs7obTdP MIME-Version: 1.0 X-Received: by 10.202.136.139 with SMTP id k133mr38088369oid.7.1435247733731; Thu, 25 Jun 2015 08:55:33 -0700 (PDT) Received: by 10.202.48.145 with HTTP; Thu, 25 Jun 2015 08:55:33 -0700 (PDT) X-Originating-IP: [2601:646:4200:5b5:8286:f2ff:febc:8b7b] In-Reply-To: References: <0ABDD99C-B3C1-4278-B6E8-6A997658B988@motum.be> <24927B98-DABB-4D6D-8BCB-9F8D60896EAC@motum.be> <26F7CD6B-9381-4DD7-B612-6E506736A044@motum.be> Date: Thu, 25 Jun 2015 08:55:33 -0700 Message-ID: Subject: Re: Leader election problems From: =?UTF-8?B?UmHDumwgR3V0acOpcnJleiBTZWdhbMOpcw==?= To: "user@zookeeper.apache.org" Content-Type: multipart/alternative; boundary=001a113e12b8558e96051959a734 X-Virus-Checked: Checked by ClamAV on apache.org --001a113e12b8558e96051959a734 Content-Type: text/plain; charset=UTF-8 On 25 June 2015 at 08:12, Filip Deleersnijder wrote: > > Some more information that we just got from our installation. > > - To check the EOF theory, we cleared all the version-2 data directories > and restarted all vehicles > - 2 of the 8 vehicles were unavailable at that time > - The remaining 6 vehicles did not succeed in finishing leader election > phase ! > After how long? > > A log extract can be found at the end of this e-mail. > > - We then removed the 2 vehicles from the configuration just for testing > purposes > - Now leader election succeed without any problems ! > How long did it take? Having the logs for all servers (for both cases: for when the elections fails and for when it succeeds) would be helpful. Please paste the logs on gist.github.com or something similar since reading them in-line is a bit hard. I don't think the unclean shutdowns should be a problem, as long as quorum can be formed (i.e.: they'll just be ignored, since ZooKeeper is meant to be crash safe) (also, a Windows shutdown is probably not very different then a shutdown through the init scripts). -rgs --001a113e12b8558e96051959a734--