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 C7D3F10A09 for ; Mon, 11 Nov 2013 16:19:32 +0000 (UTC) Received: (qmail 18761 invoked by uid 500); 11 Nov 2013 16:19:31 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 18552 invoked by uid 500); 11 Nov 2013 16:19:30 -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 18540 invoked by uid 99); 11 Nov 2013 16:19:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Nov 2013 16:19:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of arindam.mukerjee@gmail.com designates 209.85.192.169 as permitted sender) Received: from [209.85.192.169] (HELO mail-pd0-f169.google.com) (209.85.192.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Nov 2013 16:19:25 +0000 Received: by mail-pd0-f169.google.com with SMTP id y13so2558792pdi.28 for ; Mon, 11 Nov 2013 08:19:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=YhdRKbII9iTcEixwtCKWPfZQUS5QCH2ajriucWzxfjA=; b=mRUUAkWqBOUByhF9KzQmd08d2fHRXGcd+xTgFW69IYjZYh1f44lAuKQc8tBau7pBFW lSwWrNSShHENVdermwVv0/z2LrJFI0gXSPexFYvcSKouLopZ5mtYg/fsHDPsgAkJm7F4 i3Hf9CXXrO2djlFMyc0mSWWjl/0+VfUhQeVdk2/HDSt5ANxBb6JMIZyBPyNLaAavYeNn OCCqz0H5HByF2vKSEwfhZHQgjFJBXDJ+5oWyjF0rdn1qNP2n1GGTdmbIBFxT523hYQfc AhYWMDHp9EJPZyEJT50zRMRLgndlMAwzXA55W46MDbYFdsX1ke85q73K+rxQUMl9JhtN YkHQ== MIME-Version: 1.0 X-Received: by 10.66.66.133 with SMTP id f5mr2388083pat.176.1384186744810; Mon, 11 Nov 2013 08:19:04 -0800 (PST) Received: by 10.70.68.1 with HTTP; Mon, 11 Nov 2013 08:19:04 -0800 (PST) Date: Mon, 11 Nov 2013 21:49:04 +0530 Message-ID: Subject: Staggered start of nodes in an ensemble From: Arindam Mukherjee To: user@zookeeper.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Of late I have been bombarding this list with questions and am getting a little frustrated at my lack of understanding of ZooKeeper. I am up against deadlines that look infeasible now. :( Anyway, having majorly failed to get going with 3.5.0 (you might see a question earlier today), I decided, for the purposes of a PoC to create a static 3.4.6 configuration. Say, create max 3 VMs, of which 2 are always up. Initially 1 and 2 would be up. I would be listing 3 servers in the config - server.1 through server.3. I brought up the servers on 1 and 2 in that order using "zkServer.sh start-foreground". However they failed to connect and form a quorum and the foreground server process showed an increasing timeout. Then I brought up 3 at which point 2 and 3 were able to connect. Next I started zkCli.sh from 1 - it failed to connect to any box. However the ones on 2 and 3 connected neatly. I am at a little loss to explain this. Need help. Thanks. Arindam