Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81973F0BC for ; Wed, 20 Mar 2013 07:04:43 +0000 (UTC) Received: (qmail 97922 invoked by uid 500); 20 Mar 2013 07:04:38 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 97847 invoked by uid 500); 20 Mar 2013 07:04:38 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 97507 invoked by uid 99); 20 Mar 2013 07:04:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Mar 2013 07:04:37 +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 (nike.apache.org: domain of viral.bajaria@gmail.com designates 209.85.219.43 as permitted sender) Received: from [209.85.219.43] (HELO mail-oa0-f43.google.com) (209.85.219.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Mar 2013 07:04:30 +0000 Received: by mail-oa0-f43.google.com with SMTP id l10so1397200oag.30 for ; Wed, 20 Mar 2013 00:04:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=4EPFsDt1+whK/uUT8m/0BoPUP8ToqHRj0NiG/z7qrEw=; b=PCA6dICuhyCbgoS+RS+jG+1eSvM9plBww+LmlwuXZSmu+A4VajFZ/Paquxax16urGi 96kyXycOrK8tS0fDgAppLmPrl8qNkNcxWE0ipMaQikh7Nb+eDiOAzE2y+CwkLYDIuT+D E7qNgGG2hAO/iaB726CNQsu5Oh3fPvrYnCM7zFp6/yw5UUkEXdCmUIKT2ZnUc+fkEn5g L12bB4oZ50mR2bMbIcSzwh1KkhkYSW4QhoNUbH+uRH4bL2eAh7rGuo8gVNBFOTRN6/E3 oYtOrCZ7J9C8Hhl3nLOI2hAAOPH4aPmGWW6w5YoZyuKmDlMgDwrIGAa0okdyVwwk+x3M RlXg== MIME-Version: 1.0 X-Received: by 10.182.153.164 with SMTP id vh4mr3388387obb.10.1363763049591; Wed, 20 Mar 2013 00:04:09 -0700 (PDT) Received: by 10.182.76.74 with HTTP; Wed, 20 Mar 2013 00:04:09 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 Mar 2013 00:04:09 -0700 Message-ID: Subject: Re: Confused with zookeeper!!! From: Viral Bajaria To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e0149c37c20f98e04d855d447 X-Virus-Checked: Checked by ClamAV on apache.org --089e0149c37c20f98e04d855d447 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It's better if you post this question on the zookeeper mailing list. But based on my past usage of Zookeeper, what you described seems more like what you would want to do. You can put the configuration on zookeeper and your distributed nodes can read it from ever so often and update their configuration if it has changed ? But again, you are better off asking this on the zookeeper mailing list. On Tue, Mar 19, 2013 at 11:26 PM, =E5=90=B4=E9=9D=96 wro= te: > hi, guys=EF=BC=81 > > I am new to zookeeper. and I 'm quite confused with zookeeper, as i > know zookeeper is a coordination service for distributed applications. > In Hbase,Zookeeper keeps all the meta data of the Hbase nodes,so all the > node can see the same meta data, this is the coordination service. > but what confused me is how to used zookeeper ? for example If we have > a distributed system, and we need to unify the configuration files for > all nodes=EF=BC=8C how can we use the zookeeper? Just put the configurati= on files > in zookeeper(znode) and let the distributed nodes read from zookeeper? > > thank you ! > --089e0149c37c20f98e04d855d447 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It's better if you post this question on the zookeeper mailing list.
But based on my past usage of Zookeeper, what you describe= d seems more like what you would want to do. You can put the configuration = on zookeeper and your distributed nodes can read it from ever so often and = update their configuration if it has changed ? But again, you are better of= f asking this on the zookeeper mailing list.

On Tue, Mar 19, 2013 at 11:26 PM, =E5=90=B4= =E9=9D=96 <qhwj2006@126.com> wrote:
hi,=C2=A0guys=EF=BC=81

=C2=A0I am new to zookeeper. =C2=A0and=C2= =A0I 'm quite c= onfused with zookeeper, as i know zookeeper is a=C2=A0= =C2=A0coordination service for distributed application= s. In Hbase,Zookeeper keeps all the meta data of the Hbase nodes,so all the= node can see the same meta data, this is the=C2=A0coo= rdination service.
=C2=A0 but what confused me is how to used zookeep= er ? for example If =C2=A0we have a=C2=A0distributed=C2=A0system, and we need to unify the configuration fil= es for all nodes=EF=BC=8C how can we use the zookeeper? Just put the=C2=A0<= /span>configuration files in zookeeper(znode) and let the=C2= =A0distributed=C2=A0nodes read fr= om zookeeper?

thank you !

--089e0149c37c20f98e04d855d447--