lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Walters <greg.walt...@answers.com>
Subject Re: zkHost configuration
Date Tue, 11 Mar 2014 15:14:33 GMT
It's used for failover and if you've got ZooKeeper running on a separate machine(s) you need
a way to tell Solr where to look.

Thanks,
Greg

On Mar 11, 2014, at 10:11 AM, Oliver Schrenk <oliver.schrenk@gmail.com> wrote:

> Hi,
> 
> I was wondering why there is the need to full specify all zookeeper hosts when starting
up Solr. For example using
> 
> 	java -Djetty.port=7574 -DzkHost=localhost:2181,zkhost1:2181,zkhost2:2181,zkhost3:2181
-jar start.jar
> 
> Isn’t it enough to point to localhost:2181 and let the Zookeeper ensemble itself where
the other machines are? Or is this just used for failover in case  a zookeeper machine goes
down?
> 
> 
> Regards,
> Oliver
> 
> 


Mime
View raw message