You might try my ZooKeeper configuration generator if you have python
The main issue that I see with your config is that each config file
needs to contain a list of all the servers in the ensemble:
where the "myid" file in the data dir for each hostX corresponds to it's
server id (so myid=1 on host1, myid=2 on host2, etc...)
Mark Vigeant wrote:
So I'm trying to run hbase on 4 nodes, and in order to do that I need to run
zookeeper in replicated mode (I could have hbase run the quorum for me, but
it's suggested that I don't).
I have an issue though. For some reason the id I'm assigning each server in the file
"myid" in the assigned data directory is not getting read. I feel like another
id is being created and put somewhere else. Does anyone have any tips on starting a
zookeeper quorum? Do I create the myid file myself or do I edit one once it is created by
This is what my config looks like:
The name of my machine is hadoop1, with user name hadoop. In
/home/hadoop/zookeeper I've created a myid file with the number 1 in it.
RiskMetrics Group, Inc.