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 69F81109E1 for ; Wed, 14 Aug 2013 17:32:38 +0000 (UTC) Received: (qmail 42291 invoked by uid 500); 14 Aug 2013 17:32:37 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 42045 invoked by uid 500); 14 Aug 2013 17:32:37 -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 42032 invoked by uid 99); 14 Aug 2013 17:32:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 17:32:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shralex@gmail.com designates 209.85.215.49 as permitted sender) Received: from [209.85.215.49] (HELO mail-la0-f49.google.com) (209.85.215.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 17:32:32 +0000 Received: by mail-la0-f49.google.com with SMTP id ev20so6862895lab.8 for ; Wed, 14 Aug 2013 10:32:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Bc9xIpLd+PsT5cuXHkFpZQVYfUMHuZneAYWZVloPZNk=; b=Z+8DBQOjDhXtM+3Ach1dYfuZdV7NX/uxDd2tarbL5vdahJ+h3IKvIrrWWLeDGocvf1 YvkDIMehEDMAvq+fTYfqbxgZAXuRBHz9P3YQR7U+PNMZnD78mQhtSVFZ6qftk3gKrjf/ z6MhxsyzDVJheFIS1pexSk4aHmtDA30qSR4mNSO9WfherciUoLGytIaAFRTHQX70/QnA rPe2xM3EMvVkgjHTlmS0biB/yW2knHprQ9Sc+VkVqCIksFs7bP/mcNwGo2AdGMOWZjQW 2bbo6+ySMuSm87l21+O38jNjl48KZmR+Xurlp2Hjpiyh5cRuIAG7mF6sY3sXry/r9vwe fT2A== X-Received: by 10.152.37.103 with SMTP id x7mr9471330laj.28.1376501531145; Wed, 14 Aug 2013 10:32:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.160.69 with HTTP; Wed, 14 Aug 2013 10:31:50 -0700 (PDT) In-Reply-To: References: <1376423396.77549.YahooMailNeo@web161002.mail.bf1.yahoo.com> From: Alexander Shraer Date: Wed, 14 Aug 2013 10:31:50 -0700 Message-ID: Subject: Re: Dynamically Adding nodes to ZK Ensemble To: "user@zookeeper.apache.org" Cc: Russ Lavoy Content-Type: multipart/alternative; boundary=089e0160b5e4cbf96304e3ebbc00 X-Virus-Checked: Checked by ClamAV on apache.org --089e0160b5e4cbf96304e3ebbc00 Content-Type: text/plain; charset=ISO-8859-1 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 > > 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 > > > --089e0160b5e4cbf96304e3ebbc00--