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 D554C10283 for ; Thu, 29 Jan 2015 00:13:23 +0000 (UTC) Received: (qmail 49564 invoked by uid 500); 29 Jan 2015 00:13:23 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 49512 invoked by uid 500); 29 Jan 2015 00:13:22 -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 49499 invoked by uid 99); 29 Jan 2015 00:13:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2015 00:13:22 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of john.sirois@gmail.com designates 209.85.160.180 as permitted sender) Received: from [209.85.160.180] (HELO mail-yk0-f180.google.com) (209.85.160.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2015 00:13:16 +0000 Received: by mail-yk0-f180.google.com with SMTP id 131so10744889ykp.11 for ; Wed, 28 Jan 2015 16:12:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ytAItEK1qaK7KPAOTatDS4eGuBBVwKF6OWhySLT5ZUk=; b=hMec4Huy3w43TR43w4rIwveDmMksSZZSRGtX1xQ/JuxlKsZUNogeCF+RBtamCYkFHy jPXiLQH6RKJK/XEx9dJI/g7rIGEgQVbwenSj1H8a4SuHcVwzYLGHkMYSw7TIG8nq88Zi ddUTHg+aayljmqAMiGNMf+TxVsx06m3gBjX9Eq6e3D8p+54tlp5OedXOdwAUQ7eKY1lg N25Yj6NjBL1OvAIw9UKQTLBkRVu9kPUKKFlT0ekv+PNfkBtlAACUbcBRWzyRCyx2Q5yv /oDcL1EY32IyUPnk6a2NKHgMhVgdwJTKQO8ayzxXYLtpex7ycXIpp2wVAd2FdvoPPaql Z7qQ== MIME-Version: 1.0 X-Received: by 10.236.210.12 with SMTP id t12mr1999804yho.99.1422490331250; Wed, 28 Jan 2015 16:12:11 -0800 (PST) Received: by 10.170.170.135 with HTTP; Wed, 28 Jan 2015 16:12:11 -0800 (PST) In-Reply-To: References: Date: Wed, 28 Jan 2015 17:12:11 -0700 Message-ID: Subject: Re: Basic 3 ZK, bring 1 down question. From: John Sirois To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=089e0160a8dae406dd050dbf563e X-Virus-Checked: Checked by ClamAV on apache.org --089e0160a8dae406dd050dbf563e Content-Type: text/plain; charset=UTF-8 You probably need to include your config at this point to debug further. On Wed, Jan 28, 2015 at 5:08 PM, Dillian Murphey wrote: > Thanks Cameron, ok so I just ran the exercise again. I killed a server. > The other two ZKs go offline and the zookeeper.out log is as so: > > So why does this feel as if I need to manually adjust the config file? > > Thanks. P.S. I am using netflix opensource exhibitor. It may be a factor, I > don't know. The creator seems to brush me off a lot. > > 2015-01-29 00:05:51,271 [myid:] - ERROR [main:QuorumPeerMain@85] - Invalid > config, exiting abnormally > org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error > processing /zookeeper/zookeeper-3.4.6/bin/../conf/zoo.cfg > at > > org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:123) > at > > org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:101) > at > > org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78) > Caused by: java.lang.IllegalArgumentException: Observers w/o quorum is an > invalid configuration > at > > org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:284) > at > > org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:119) > ... 2 more > Invalid config, exiting abnormally > tail: zookeeper.out: file truncated > 2015-01-29 00:06:11,561 [myid:] - INFO [main:QuorumPeerConfig@103] - > Reading configuration from: /zookeeper/zookeeper-3.4.6/bin/../conf/zoo.cfg > 2015-01-29 00:06:11,566 [myid:] - ERROR [main:QuorumPeerMain@85] - Invalid > config, exiting abnormally > org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error > processing /zookeeper/zookeeper-3.4.6/bin/../conf/zoo.cfg > at > > org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:123) > at > > org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:101) > at > > org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78) > Caused by: java.lang.IllegalArgumentException: Observers w/o quorum is an > invalid configuration > at > > org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:284) > at > > org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:119) > ... 2 more > Invalid config, exiting abnormally > > On Wed, Jan 28, 2015 at 3:45 PM, Cameron McKenzie > wrote: > > > Assuming that your 2 remaining servers can communicate with each other > the > > cluster should should remain online as it still has a quorum (2 / 3 nodes > > are online). There may be a brief period where the cluster won't accept > > requires while a new leadership election occurs between the 2 remaining > > nodes. > > cheers > > Cam > > > > On Thu, Jan 29, 2015 at 10:40 AM, Dillian Murphey < > crackshotmule@gmail.com > > > > > wrote: > > > > > If I have 3 ZK instances running on separate servers and I terminate > one > > of > > > the servers, what should I expect to happen? > > > > > > Will the remaining 2 zookeepers continue happily and stay online > without > > > any interruption? > > > > > > I'm using exhibitor/zookeeper and I'm attempting this scenerio and what > > I'm > > > seeing is my remaining 2 zookeepers go offline. I thought the whole > > point > > > of having a majority was to allow a failure? > > > > > > > > > Thank you. I'm new so be kind. > > > > > > --089e0160a8dae406dd050dbf563e--