On 6/11/2018 8:35 AM, Anil wrote:
> for failure could be #1. but not sure why client started with different
> zkHost. i used 127.0.01:2181/solr itself. zk nodes started with
> 127.0.0.1:2181, 2182, 2183
> is there anyway i can figure this out and correct it ? Thanks.

I suspect that the difference there is the /solr chroot.  I bet what
you've got happening that the chroot is in the client's connection
information, but NOT in the server's connection information.  For the
server to use a chroot with the information you have supplied, this is
what you zkHost string would look like:

127.0.0.1:2181,127.0.0.1:2182,127.0.0.1:2183/solr

The client should be using exactly the same information -- all the
servers and the chroot (if present).  If you only use one ZK server on
the client and that ZK server goes down, the client will stop working
correctly.  If it has all the servers and one of them goes down, then
everything keeps working.

FYI -- because all your ZK servers are on one system, you do not
actually have redundancy.  If that machine fails, ALL of your ZK servers
are gone.

Thanks,
Shawn

Reply via email to