-- Node1 zoo.cfg --

tickTime=2000

dataDir=I:/zookeeper/data

clientPort=2181

4lw.commands.whitelist=mntr,conf,ruok

initLimit=5

syncLimit=2

server.1=0.0.0.0:2888:3888

server.2=NODE2DNSNAME.local:2888:3888

server.3=NODE3DNSNAME.local:2888:3888

 

One question I had was why are you defining the server configuration in the 
zoo.cfg instead of zoo.cfg.dynamic file

if you are using dynamic configuration introduced in the zookeeper 3.5+ 
version? 

 

Regards, Aishwarya Soni

 

I am a newbie to Zookeeper(about 2 months) and I am not using dynamic 
configuration, the server names will never change.

The only reason I am guessing is because I also supply the server names in the 
Solr start command(solr is the client for zookeeper).

 

Command is: [solr start -cloud -f -p 8983 -z " NODE1DNSNAME.local:2182, 
NODE2DNSNAME.local:2181, NODE3DNSNAME.local:2181"] I think zookeeper compares 
the solr start command to the zoo.cfg files and sees differences.

 

BTW, I reply like this because I have subscribed to both zookeeper forums, but 
it does not send email to me. The solr forum sends email just fine.

 

Thanks,

George

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to