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 948BD108CF for ; Tue, 12 Nov 2013 05:27:09 +0000 (UTC) Received: (qmail 14530 invoked by uid 500); 12 Nov 2013 05:27:08 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 14497 invoked by uid 500); 12 Nov 2013 05:27:08 -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 14489 invoked by uid 99); 12 Nov 2013 05:27:08 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Nov 2013 05:27:08 +0000 Received: from localhost (HELO mail-wg0-f53.google.com) (127.0.0.1) (smtp-auth username phunt, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Nov 2013 05:27:07 +0000 Received: by mail-wg0-f53.google.com with SMTP id b13so1987525wgh.32 for ; Mon, 11 Nov 2013 21:27:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=6VfSAJEOmidcqffmhZKOJCXt++wHgRjs0l65AlNDl0M=; b=FDyfOs8h1nj7YAdOfx5xzWYDx3qNOrtGHbDErT7ANRtKmq+oHusxWfiY1fYml0Ayed 90u6ETXDsvWuQ5x5wtHA+j5nVrZOwwv4EhNaMNBqtdR4coUiV/3ZRk4J+PFzQhSoT7JZ f3PYSaLzR+EpZxuP13l1LFMHNw4TFcgbX+hdKLnBOeOPvgSqgKKtcB73Hz1XYrsifW/C wBecMzFFJK1p6dVkMOBCgwpa10g4PKihpG8RS+6IV77yOk4reSAxEjpBQzlYBilBrC3+ SRRPSex1trwRRRammP7uwBV9fceUpoUnmOHRQYQs7cViuZcKvw+QrZi/3RtuAXnQVdTh wtJg== X-Received: by 10.194.71.72 with SMTP id s8mr64060wju.52.1384234026179; Mon, 11 Nov 2013 21:27:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.152.193 with HTTP; Mon, 11 Nov 2013 21:26:46 -0800 (PST) In-Reply-To: References: From: Patrick Hunt Date: Mon, 11 Nov 2013 21:26:46 -0800 Message-ID: Subject: Re: Staggered start of nodes in an ensemble To: UserZooKeeper Content-Type: text/plain; charset=ISO-8859-1 Probably goes without saying but you cleared out the datadir when switching from 3.5 to 3.4? I don't think anyone has tested 3.4 code reading a datadir generated by a 3.5 server yet.... Patrick On Mon, Nov 11, 2013 at 9:19 PM, Patrick Hunt wrote: > You are using the same configuration on all three nodes, is that > right? Permissions for the dataDir are set properly on all three? > > Have you verified that the "myid" file is correct, and corresponds > correctly, to each of the 3 servers? (.193 should have myid of 1, .194 > myid of 2, .195 myid of 3) > > I'd also suggest that you use 20 & 10 as the init and sync limits respectively. > > Patrick > > On Mon, Nov 11, 2013 at 9:09 PM, Arindam Mukherjee > wrote: >> On Tue, Nov 12, 2013 at 8:43 AM, kishore g wrote: >>> can you provide the configurations (zoo.cfg) on each server. From the >>> description, your server 1 seems to be incorrectly configured. >>> >> >> This is the configuration: >> >> tickTime=2000 >> dataDir=/var/zookeeper >> initLimit=5 >> syncLimit=2 >> clientPort=2181 >> server.1=172.31.68.193:2888:3888 >> server.2=172.31.68.194:2888:3888 >> server.3=172.31.68.195:2888:3888 >> >> Thanks.