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 8E5C4C7DF for ; Thu, 26 Apr 2012 22:56:25 +0000 (UTC) Received: (qmail 90592 invoked by uid 500); 26 Apr 2012 22:56:25 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 90500 invoked by uid 500); 26 Apr 2012 22:56:25 -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 90492 invoked by uid 99); 26 Apr 2012 22:56:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2012 22:56:25 +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 mohammadshamma@gmail.com designates 209.85.212.174 as permitted sender) Received: from [209.85.212.174] (HELO mail-wi0-f174.google.com) (209.85.212.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2012 22:56:20 +0000 Received: by wibhr17 with SMTP id hr17so28639wib.15 for ; Thu, 26 Apr 2012 15:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=OPoB9Ktx0cVpL/APFE1T748L2OYdnaOs6g6Q+CSKToA=; b=KIJvTcK9A0/ip/2R1/dERXG8LFOldsvZ0tNbb5ALsN57vuDatqy6WjJrlLoq/3ITCy 0/EB+og7UqWobCkSMqAeI/R3s6GVPcz3jX0Uuu2u5j/yvGlXJAED97VFiANRpvSK++0n 8aPpzdtKbkBOrVla6XpFr0c+MX8WsVo26IY01akMnK93CcVOEP00/9b0BySJnJuTBrox DHp35ulfp2YnXcxBg24RvZsY35tIsiBx+E6MvkZVb9hs7uATRpriIhEy24FNuLC9LAlW FivfasQlJjt7PnPF0r3SaRTSNJLgZUq8QQp5LENadakptBH2CvJgqdfsZ9FDkZlYdIGz ++KA== MIME-Version: 1.0 Received: by 10.180.75.176 with SMTP id d16mr616875wiw.0.1335480958685; Thu, 26 Apr 2012 15:55:58 -0700 (PDT) Received: by 10.223.6.19 with HTTP; Thu, 26 Apr 2012 15:55:58 -0700 (PDT) In-Reply-To: References: Date: Thu, 26 Apr 2012 15:55:58 -0700 Message-ID: Subject: Re: adding/removing a zookeeper server From: "Mohammad Abdul-Amir (Shamma)" To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=f46d043c812425935f04be9ce412 X-Virus-Checked: Checked by ClamAV on apache.org --f46d043c812425935f04be9ce412 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Apr 26, 2012 at 2:48 PM, Jordan Zimmerman wrote: > See #6 in the FAQ: http://wiki.apache.org/hadoop/ZooKeeper/FAQ > > Okay, it seems that a zookeeper "upgrade" is possible according to FAQ. Does removing/decommissioning a zookeeper server fall under the notion of "upgrade" though? Does "upgrade" apply to any zookeeper config update? > Also, FYI, we recently open sourced a ZooKeeper supervisor app that makes > these kinds of tasks simpler: > > https://github.com/Netflix/exhibitor > > -Jordan > > On 4/26/12 2:46 PM, "Mohammad Abdul-Amir (Shamma)" > wrote: > > >Hello, > > > >I have been searching through the zookeeper documentation and the web for > >information about reconfiguring a zookeeper ensemble. More precisely I am > >interested in adding/removing zookeeper servers to/from a zookeeper > >ensemble. Unfortunately, I could not find much information around, > >therefore I am bringing up the issue on this list. > > > >My questions are: > > > >- Is there a safe procedure to add a zookeeper server to a zookeeper > >ensemble? > >- Is there a safe procedure to remove a zookeeper server from an existing > >ensemble? > > > >Some posts I have read suggest that these operations are possible. The > >described procedure is to rewrite a new zookeeper configuration to all > >involved servers and to restart them. However, given that I could not find > >any information about how to carry out these two operations in zookeeper's > >documentation makes me nervous about relying on the described procedure. > > > >I would appreciate if anyone can point me to a different procedures to > >carry out add/remove operations, or convince me that it is safe to use the > >procedure described above. Safety for me is two-fold: zookeeper database > >can not get corrupted (unusable), and state updates can not get lost. > > > >-- > >Mohammad Abdul-Amir (Shamma) > > -- Mohammad Abdul-Amir (Shamma) --f46d043c812425935f04be9ce412--