Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@minotaur.apache.org Received: (qmail 86319 invoked from network); 14 Jan 2010 20:41:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jan 2010 20:41:18 -0000 Received: (qmail 68381 invoked by uid 500); 14 Jan 2010 20:41:17 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 68365 invoked by uid 500); 14 Jan 2010 20:41:17 -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 68355 invoked by uid 99); 14 Jan 2010 20:41:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 20:41:17 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.85.219.217] (HELO mail-ew0-f217.google.com) (209.85.219.217) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 20:41:09 +0000 Received: by ewy9 with SMTP id 9so8868261ewy.11 for ; Thu, 14 Jan 2010 12:40:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.86.201 with SMTP id w51mr469626wee.8.1263501648388; Thu, 14 Jan 2010 12:40:48 -0800 (PST) In-Reply-To: <9b40bc2a1001141212pe5536bbvd7707ab6ec76de9a@mail.gmail.com> References: <9b40bc2a1001141212pe5536bbvd7707ab6ec76de9a@mail.gmail.com> Date: Thu, 14 Jan 2010 12:40:48 -0800 Message-ID: Subject: Re: Question regarding Membership Election From: Henry Robinson To: zookeeper-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=0016e6d99d05ece123047d25e6c3 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d99d05ece123047d25e6c3 Content-Type: text/plain; charset=ISO-8859-1 Hi - If you put all your voting nodes in one datacenter, that datacenter becomes a 'single point of failure' for the cluster. If it gets cut off from any other datacenters, the cluster will not be available to those datacenters. If you want to withstand the failure of datacenters, then you need voting members inside every datacenter. Observers can't suddenly become voting members. You can't even put 'dormant' voting members (that never bother to vote) in your other datacenters because you would need a quorum of them to continue after the original datacenter failed. And if this was true, the original datacenter would not, by construction, contain a quorum of voting nodes. So you'd still have to vote outside the cluster. Henry 2010/1/14 Vijay > Hi, > > I read about observers in other datacenter, > > My question is i dont want voting across the datacenters (So i will use > observers), at the same time when a DC goes down i dont want to loose the > cluster, whats the solution for it? > > I have to have 3 nodes in primary DC to accept 1 node failure. Thats > fine... > but what about the other DC? how many nodes and how will i make it work? > > Regards, > > --0016e6d99d05ece123047d25e6c3--