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 9C62910329 for ; Tue, 20 Aug 2013 01:41:07 +0000 (UTC) Received: (qmail 50219 invoked by uid 500); 20 Aug 2013 01:41:06 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 50154 invoked by uid 500); 20 Aug 2013 01:41:05 -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 50145 invoked by uid 99); 20 Aug 2013 01:41:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Aug 2013 01:41:05 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [209.85.219.44] (HELO mail-oa0-f44.google.com) (209.85.219.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Aug 2013 01:41:00 +0000 Received: by mail-oa0-f44.google.com with SMTP id l20so7143149oag.17 for ; Mon, 19 Aug 2013 18:40:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=EilsZMsMlGyOWrIhsIdHeQElFZgM9+WxyQtXNcNfYfw=; b=YJgF3PRGWaX4UHT2G5ZTqv7op2C6ZYZa7JARdGUfAZzSaPYwgI/2mlhO7G5iXOHPxE MKAHMVdOxkv1B3j1z6ba+RGQBZup19+KDgwSUbmy/7OxPzm6yWgmP93wL7gcmfcV2waI ml9QmrhaIwoLf8Pi+HLLm7lw+8rJKyP2OmcvghU6GbCcHM2ttuytWuCkTKBJTUZtj7fE lm+lWyg8t36nbmPa72jnapf0+34/UTCGNAPM3P9Cw9SWO5E3r8jnGX0sePfPzp80JsYd LMvyII5DIglSUiNJufy4wNI9DZRxhQlqD+rU7Zp0OvR7W2+66LUNZpJQg+S9KfToca6M pBcA== X-Gm-Message-State: ALoCoQlMVqvB5RgVjx7VOSl9OustBFM5kMW4oHGvRO3uOmZOt78vrLBZ68NdZlUk2VioAce0es/W MIME-Version: 1.0 X-Received: by 10.182.106.4 with SMTP id gq4mr16010533obb.4.1376962818803; Mon, 19 Aug 2013 18:40:18 -0700 (PDT) Received: by 10.60.120.98 with HTTP; Mon, 19 Aug 2013 18:40:18 -0700 (PDT) In-Reply-To: References: <1376423396.77549.YahooMailNeo@web161002.mail.bf1.yahoo.com> Date: Mon, 19 Aug 2013 18:40:18 -0700 Message-ID: Subject: Re: Dynamically Adding nodes to ZK Ensemble From: Deepak Jagtap To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=e89a8fb1fa62af19ee04e4572357 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1fa62af19ee04e4572357 Content-Type: text/plain; charset=ISO-8859-1 Hi, I have to remove one node from the zookeeper cluster, and add new node using incremental method. >From the documentation it's not very clear whether new node config file should add it's entry as observer and then update to participant. Or it's ok to start zookeeper on new node being participant directly. Thanks & Regards, Deepak On Wed, Aug 14, 2013 at 10:31 AM, Alexander Shraer wrote: > Hi Deepak, > > it should work fine, except that you won't be able to invoke the new > reconfig/getconfig/updateServerList APIs from an old client. > > This means, for example, that if you add 2 servers to your ensemble, none > of the old clients will migrate to the new servers (this is > what the updateServerList does). > > Regards, > Alex > > > On Wed, Aug 14, 2013 at 10:20 AM, Deepak Jagtap >wrote: > > > Hi, > > > > I have one query regarding dynamic zookeeper cluster reconfiguration. > > I will be using zookeeper 3.5.0 as server, but I have an application > > which uses zookeeper-3.4.5 client library API. Upgrading zookeeper client > > version is bit difficult in my environment due to other dependencies. > > Will 3.4.5 client work fine with 3.5.0 server during cluster > > reconfiguration > > Or I must use 3.5.0 client in this case? > > > > Thanks & Regards, > > Deepak > > > > > > On Tue, Aug 13, 2013 at 3:46 PM, Alexander Shraer > > wrote: > > > > > Hi, > > > > > > A user manual is linked from here: > > > > > > https://issues.apache.org/jira/browse/ZOOKEEPER-1660 > > > > > > Regards, > > > Alex > > > > > > On Tue, Aug 13, 2013 at 3:42 PM, Deepak Jagtap < > deepak.jagtap@maxta.com> > > > wrote: > > > > Hi Russ, > > > > > > > > This presentation gives brief idea about zookeeper cluster reconfig > > > > mechanism: > > > > > > > > > > http://www.slideshare.net/Hadoop_Summit/dynamic-reconfiguration-of-zookeeper > > > > > > > > zookeeper 3.5.0 source has zkCli.sh utility which supports reconfig > > > command > > > > to > > > > dynamically reconfigure the cluster. > > > > > > > > Regards, > > > > Deepak > > > > > > > > > > > > > > > > > > > > On Tue, Aug 13, 2013 at 12:49 PM, Russ Lavoy > > > wrote: > > > > > > > >> Hello, > > > >> > > > >> I would like to add ZK nodes dynamically to an ensemble. I have > seen > > > >> https://issues.apache.org/jira/browse/ZOOKEEPER-107 but I do not > see > > > any > > > >> documentation on how to do this. > > > >> > > > >> Can anyone give me some insight? > > > >> > > > >> Thanks > > > > > > --e89a8fb1fa62af19ee04e4572357--