zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikhil <mnik...@gmail.com>
Subject Re: how can i assign myid when i do zookeeper init?
Date Mon, 31 Mar 2014 22:30:31 GMT
If the zookeeper setup involves multiple zookeeper server ensemble, myid
file needs to be created in the data directory. This can also be done as
part of the 'init' setup from command line.

$ /etc/init.d/zookeeper-server init --myid=<number>


On Mon, Mar 31, 2014 at 2:49 PM, Michi Mutsuzaki <michi@cs.stanford.edu>wrote:

> You create a file named myid under the data directory, and pick a
> number between 1 and 255. The process is documented here:
>
>
> http://zookeeper.apache.org/doc/r3.4.6/zookeeperAdmin.html#sc_zkMulitServerSetup
>
> --Michi
>
> On Mon, Mar 31, 2014 at 2:33 AM, ch huang <justlooks@gmail.com> wrote:
> > hi,maillist:
> >        how can i assign myid when i do zookeeper init ?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message