You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by 吴靖 <qh...@126.com> on 2013/03/20 07:26:05 UTC

Confused with zookeeper!!!

hi, guys!


 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, how can we use the zookeeper? Just put the configuration files in zookeeper(znode) and let the distributed nodes read from zookeeper?


thank you !

Re: Confused with zookeeper!!!

Posted by Viral Bajaria <vi...@gmail.com>.
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, 吴靖 <qh...@126.com> wrote:

> hi, guys!
>
>  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, how can we use the zookeeper? Just put the configuration files
> in zookeeper(znode) and let the distributed nodes read from zookeeper?
>
> thank you !
>

Re: Confused with zookeeper!!!

Posted by Viral Bajaria <vi...@gmail.com>.
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, 吴靖 <qh...@126.com> wrote:

> hi, guys!
>
>  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, how can we use the zookeeper? Just put the configuration files
> in zookeeper(znode) and let the distributed nodes read from zookeeper?
>
> thank you !
>

Re: Confused with zookeeper!!!

Posted by Viral Bajaria <vi...@gmail.com>.
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, 吴靖 <qh...@126.com> wrote:

> hi, guys!
>
>  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, how can we use the zookeeper? Just put the configuration files
> in zookeeper(znode) and let the distributed nodes read from zookeeper?
>
> thank you !
>

Re: Confused with zookeeper!!!

Posted by Viral Bajaria <vi...@gmail.com>.
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, 吴靖 <qh...@126.com> wrote:

> hi, guys!
>
>  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, how can we use the zookeeper? Just put the configuration files
> in zookeeper(znode) and let the distributed nodes read from zookeeper?
>
> thank you !
>