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 BC2F410B11 for ; Fri, 4 Apr 2014 17:16:08 +0000 (UTC) Received: (qmail 17242 invoked by uid 500); 4 Apr 2014 17:16:06 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 16398 invoked by uid 500); 4 Apr 2014 17:16: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 16376 invoked by uid 99); 4 Apr 2014 17:16:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2014 17:16:02 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=FORGED_YAHOO_RCVD,RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fpjunqueira@yahoo.com designates 212.82.97.135 as permitted sender) Received: from [212.82.97.135] (HELO nm36-vm3.bullet.mail.ir2.yahoo.com) (212.82.97.135) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2014 17:15:56 +0000 Received: from [212.82.98.54] by nm36.bullet.mail.ir2.yahoo.com with NNFMP; 04 Apr 2014 17:15:34 -0000 Received: from [46.228.39.81] by tm7.bullet.mail.ir2.yahoo.com with NNFMP; 04 Apr 2014 17:15:34 -0000 Received: from [127.0.0.1] by smtp118.mail.ir2.yahoo.com with NNFMP; 04 Apr 2014 17:15:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1396631734; bh=mbchybGNlfn+SfvVVk0zaF7fm75+YMPrm6SwgjAyH3s=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:From:To:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Thread-Index:Content-Language; b=RdFWqCb9t7iYzOpfMQ9Pzf67YPzoJeYoUPMCod2HTlsQOjOaoWjjQPOywfu0nzRaZGvhKSJY3kO5wlNC+0sbqme27wDlhmJ4iJEBqtr+zf2kwehd9riJIYngrHwKO9EGSVv0h0EJWBHp3m7JgGbbjYpBOVV0ihkatwaFF53fZ1k= X-Yahoo-Newman-Id: 448981.76526.bm@smtp118.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: krTTtuUVM1l9F2efl5cJUzlCxowLixidvxoCkY0ItctRLE2 v48C5nZav_bLV9G0.08ahpXQ74ySMXGgOl24eXUztDFBC9Zbq5Y5z7FECfLC ojKlo4CE8Qg_V_uzky.auJKJIYoGu.R9QIBdD9nW28MMG.bapZ5RPM8k_3ck DuCjf2y.Cz.qskxAWR6942iZcBz4uX89gPfp6fnJVkHHF6bJf2bQu3F7MfyX Arg_RJF5m919h.mA0xPoVOt.5YYQp9OZ9dF29lmhWz4g05J2sEMFE6LxYhKM 2GyNcF6VjJrTXlu4K.G.dIo3qDa1WUOh1Tg4AbEewp1YA4yCT2A.o1e.Ghdd JHtZpYqxW8RakVKoosHrMSv3HgALGJqRa3.PKTKeweRDtHcpEu.3R8hCc0Mb aquNC36ye.G10svS3fYhEKwyo45e69Bh8LtLc74XGXHlJVDDiOg2ZpVnUDEY DS2PWU2aTG.NVr.MudPh0l9H8tRkaPM5o8tj.FKsUT8uH3o0EQb98D7asKCn do71LWDFZPQyQ_H79FteIvzGKysg1EfgpmRdrBgWMI6kfDLFCPsBmRoajY37 isx8BXtsShPsj17o_dePpDnLPW_fN5.F2cVqufZUupsh3jOOm24980E6SKON LnBXkfI5C40yFbs3O4zt7YZdgDdx8.0_zMzMC5tPiRm4yXEwEjc6SQzia_wI 9rPBhJXKq4q8HNlRoiaSg5h5fI0qQjeonSGVEn2GFC..GPLDu67Gt6G5QGm5 sVh85ePXqbZNK56tC1Bm0cL_ocqUewkPSQABp479pTzgBknRvLLCS94U- X-Yahoo-SMTP: HT5UJDeswBACWJPOeualxAa.da..S.fl X-Rocket-Received: from MSRCfpj (fpjunqueira@94.245.87.231 with plain [188.125.69.59]) by smtp118.mail.ir2.yahoo.com with SMTP; 04 Apr 2014 17:15:34 +0000 UTC From: "FPJ" To: , References: <1396550716641-7579721.post@n2.nabble.com> In-Reply-To: <1396550716641-7579721.post@n2.nabble.com> Subject: RE: What should be the majority in an ensemble for Zookeeper Date: Fri, 4 Apr 2014 18:15:33 +0100 Message-ID: <001401cf5029$7d4be200$77e3a600$@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQJlNgAxcEFqJPoPnTPg/IXFHp86kpnV5kLg Content-Language: en-gb X-Virus-Checked: Checked by ClamAV on apache.org I think there is quite a bit of confusion here. You don't select a majority, the system does it for you. The only thing you need to select is the total number of servers, and the text you're quoting is just trying to convince you to use an odd number instead of an even number of servers. Use 3 servers (total) if you want to tolerate one faulty server, 5 if you want to tolerate 2 faulty servers, 7 if you want to tolerate 3 and so on. Hope it is a bit better now. -Flavio > -----Original Message----- > From: chaitanya_r [mailto:chaitanya_spring@yahoo.com] > Sent: 03 April 2014 19:45 > To: zookeeper-user@hadoop.apache.org > Subject: What should be the majority in an ensemble for Zookeeper > > I am trying to understand Zookeeper using this book - Zookeeper By Flavio > Junqueira, Benjamin Reed > > , it is mentioned that we need to select a majority of servers for quorum as > stated here: > > "Say that we use four servers for an ensemble. A majority of servers is > comprised of three servers. However, this system will only tolerate a single > crash, because a double crash makes the system lose majority. > Consequently, with four servers, we can only tolerate a single crash, but > quorums now are larger, which implies that we need more > acknowledgments for each request. > The bottom line is that we should always shoot for an odd number of > servers." > > Please help me in understanding this. > > How do we select the majority of servers for a given ensemble? > > Why does this statement say quorums now are larger and why do we need > more acknowledgments for each request? > > > > -- > View this message in context: http://zookeeper- > user.578899.n2.nabble.com/What-should-be-the-majority-in-an-ensemble- > for-Zookeeper-tp7579721.html > Sent from the zookeeper-user mailing list archive at Nabble.com.