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 B673F70E9 for ; Mon, 24 Oct 2011 09:39:31 +0000 (UTC) Received: (qmail 64217 invoked by uid 500); 24 Oct 2011 09:39:31 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 64035 invoked by uid 500); 24 Oct 2011 09:39:26 -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 64027 invoked by uid 99); 24 Oct 2011 09:39:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2011 09:39:25 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of markrmiller@gmail.com designates 74.125.82.46 as permitted sender) Received: from [74.125.82.46] (HELO mail-ww0-f46.google.com) (74.125.82.46) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2011 09:39:19 +0000 Received: by wwp14 with SMTP id 14so8443861wwp.15 for ; Mon, 24 Oct 2011 02:38:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=6Z7oKXUds8V3wQwAw2R+KD+c+3ftvPLYaIZ5Vaym7i0=; b=F587k9LnH2m6Y2HuOtmi/MtiULCmGMKvg03Dubc4M8XlQKrSKlYFALjvsyfnx9AfE3 pLy+aFLKzc4SSQVW9NJzMDYFUBWPiayAFBA5JV1sIRZZgd+FANtZ+SAwEb3xg5b1SehL sdbQXaSUPDzwfM37FMl0pm+hKrjlHsmOYrabQ= Received: by 10.216.37.140 with SMTP id y12mr2987940wea.88.1319449137251; Mon, 24 Oct 2011 02:38:57 -0700 (PDT) Received: from [192.168.1.132] (172.230.77.188.dynamic.jazztel.es. [188.77.230.172]) by mx.google.com with ESMTPS id fy13sm37887456wbb.18.2011.10.24.02.38.55 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 24 Oct 2011 02:38:56 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1251.1) Subject: Re: Distributed lock via ZkClient From: Mark Miller In-Reply-To: <1319427661775-6923846.post@n2.nabble.com> Date: Mon, 24 Oct 2011 11:38:53 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <797DE57E-EFF5-4785-A7ED-70935F7FA064@gmail.com> References: <1319427661775-6923846.post@n2.nabble.com> To: user@zookeeper.apache.org X-Mailer: Apple Mail (2.1251.1) There is a lock recipe in the zk source code you can find and use with a = little digging. On Oct 24, 2011, at 5:41 AM, zknewbie wrote: > Hi All, > Has anyone tried to implement the distributed lock via ZkClient = library? > I need to implement a distributed lock mechanism for my project and = I'm > looking at the ZkClient library from Apache. > Any help will be greatly appreciated, > Thanks >=20 >=20 >=20 > -- > View this message in context: = http://zookeeper-user.578899.n2.nabble.com/Distributed-lock-via-ZkClient-t= p6923846p6923846.html > Sent from the zookeeper-user mailing list archive at Nabble.com. - Mark Miller lucidimagination.com