Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@minotaur.apache.org Received: (qmail 51275 invoked from network); 13 Mar 2009 23:55:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2009 23:55:18 -0000 Received: (qmail 79517 invoked by uid 500); 13 Mar 2009 23:55:18 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 79502 invoked by uid 500); 13 Mar 2009 23:55:18 -0000 Mailing-List: contact zookeeper-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-user@hadoop.apache.org Delivered-To: mailing list zookeeper-user@hadoop.apache.org Received: (qmail 79491 invoked by uid 99); 13 Mar 2009 23:55:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Mar 2009 16:55:18 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [69.147.107.21] (HELO mrout2-b.corp.re1.yahoo.com) (69.147.107.21) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Mar 2009 23:55:08 +0000 Received: from SNV-EXPF01.ds.corp.yahoo.com (snv-expf01.ds.corp.yahoo.com [207.126.227.250]) by mrout2-b.corp.re1.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id n2DNsZOu067777 for ; Fri, 13 Mar 2009 16:54:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:user-agent:date:subject:from:to:message-id: thread-topic:thread-index:in-reply-to:mime-version:content-type: content-transfer-encoding:return-path:x-originalarrivaltime; b=S+joEiJyRgfGGfDjAzz21vyR7B42pJ8UI9PtEmthFnSqpk7rHx9+lgjqvfIjVPN/ Received: from SNV-EXVS09.ds.corp.yahoo.com ([207.126.227.87]) by SNV-EXPF01.ds.corp.yahoo.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 13 Mar 2009 16:54:34 -0700 Received: from 10.73.146.106 ([10.73.146.106]) by SNV-EXVS09.ds.corp.yahoo.com ([207.126.227.84]) via Exchange Front-End Server snv-webmail.corp.yahoo.com ([207.126.227.60]) with Microsoft Exchange Server HTTP-DAV ; Fri, 13 Mar 2009 23:54:34 +0000 User-Agent: Microsoft-Entourage/12.15.0.081119 Date: Fri, 13 Mar 2009 16:54:33 -0700 Subject: Re: Dynamic addition of servers to Zookeeper cluster From: Mahadev Konar To: Message-ID: Thread-Topic: Dynamic addition of servers to Zookeeper cluster Thread-Index: AcmkNw59ekqsMNXiO0u2mwn61MTBAQ== In-Reply-To: <479623.73956.qm@web32002.mail.mud.yahoo.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 13 Mar 2009 23:54:34.0724 (UTC) FILETIME=[0F841240:01C9A437] X-Virus-Checked: Checked by ClamAV on apache.org Hi Raghu, You are right that the cluster configuration is a static one. To deal with this problem, we usually suggest that you change your configs for every server and then re hup all of them at the same time (almost the same time I mean). The clients would lose connections to the servers but will reconnect and should regain their old sessions. Also, their is an open jira on this: http://issues.apache.org/jira/browse/ZOOKEEPER-107 thanks mahadev On 3/13/09 4:46 PM, "raghul@yahoo.com" wrote: > > ZooKeeper gurus, > > Can I add servers dynamically to a ZooKeeper cluster? If I understand ZooKeepr > cluster correctly, each server should know about other servers in the cluster > during server start up. Does this mean that the cluster size is static once > the cluster is running and a new server can be added to the cluster only by > bringing down the cluster and restarting each server with the new server name > included in each server's configuration file? > > Thanks > Raghu > > > >