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 17BFB10C2E for ; Tue, 26 Nov 2013 22:28:29 +0000 (UTC) Received: (qmail 91793 invoked by uid 500); 26 Nov 2013 22:28:28 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 91712 invoked by uid 500); 26 Nov 2013 22:28:28 -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 91699 invoked by uid 500); 26 Nov 2013 22:28:28 -0000 Delivered-To: apmail-hadoop-zookeeper-user@hadoop.apache.org Received: (qmail 91696 invoked by uid 99); 26 Nov 2013 22:28:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Nov 2013 22:28:28 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of jezdnia@gmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Nov 2013 22:28:23 +0000 Received: from jim.nabble.com ([192.168.236.80]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VlR6w-00012r-OX for zookeeper-user@hadoop.apache.org; Tue, 26 Nov 2013 14:28:02 -0800 Date: Tue, 26 Nov 2013 14:28:02 -0800 (PST) From: ms209495 To: zookeeper-user@hadoop.apache.org Message-ID: <1385504882746-7579376.post@n2.nabble.com> In-Reply-To: References: <1385456084052-7579367.post@n2.nabble.com> Subject: Re: Ensure there is one master MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the reply. I want to clarify one thing. I think about a System of 20 nodes, that uses ZooKeeper of 3 nodes. I think about master election among these 20 nodes, that do not run consensus, but they use zookeeper service for master election. I used 'leader' term for a leeder in Zookeeper (among 3 nodes), and 'master' term for master in the System (20 nodes). Solution is described here: http://zookeeper.apache.org/doc/trunk/recipes.html#sc_leaderElection (I would name it 'master' election, not 'leader' election), but I doubt if it works reliable without additional timing assumptions as I described in my previous post. Please consider my previous post in the context of the System that uses Zookeeper (not ZooKeeper itself). -- View this message in context: http://zookeeper-user.578899.n2.nabble.com/Ensure-there-is-one-master-tp7579367p7579376.html Sent from the zookeeper-user mailing list archive at Nabble.com.