You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Pure Host - Wolfgang Freudenberger <w....@pure-host.de> on 2018/09/13 12:56:34 UTC

Re: solrcloud configuration: solr failed to start with multiple zookeeper servers

did you configure the zookeeper as a quorum?

Am 13.09.2018 um 14:47 schrieb Gu, Steve (CDC/OD/OADS) (CTR):
> Hi,
>
> I am prototyping solrcloud and I have three zookeeper servers (localhost:2181,localhost:2182,localhost:2183).  I set the zkHost in solr.in.cmd file as:
>
> set ZK_HOST="localhost:2181,localhost:2182,localhost:2183"
>
> After zk servers have started, I got the following error when I tried to start solr:  localhost:2182 was unexpected at this time.
>
> Solr starts ok if I set ZK_Host to only one server, such as set ZK_HOST="localhost:2181".
>
> Any suggestions?
>
> Thanks
> Steve
>


RE: solrcloud configuration: solr failed to start with multiple zookeeper servers

Posted by "Gu, Steve (CDC/CDC OD/OADS) (CTR)" <cz...@cdc.gov>.
Edwin,

Solr is 7.4.0, and zookeeper is 3.4.12.

Interestingly, when I started solr with ZK_HOST="localhost:2181", I can still access solr via other zk_host with CloudSolrClient.

Thanks
Steve

-----Original Message-----
From: Zheng Lin Edwin Yeo <ed...@gmail.com> 
Sent: Thursday, September 13, 2018 11:10 PM
To: solr-user@lucene.apache.org
Subject: Re: solrcloud configuration: solr failed to start with multiple zookeeper servers

Which version of Solr and ZooKeeper are you using?

What is the command that you used to start Solr?

Regards,
Edwin


On Thu, 13 Sep 2018 at 21:56, Gu, Steve (CDC/OD/OADS) (CTR) <cz...@cdc.gov>
wrote:

> Yes, my zookeeper ensemble have 3 servers and they are all up running.
>
> -----Original Message-----
> From: Pure Host - Wolfgang Freudenberger 
> <w....@pure-host.de>
> Sent: Thursday, September 13, 2018 8:57 AM
> To: solr-user@lucene.apache.org
> Subject: Re: solrcloud configuration: solr failed to start with 
> multiple zookeeper servers
>
> did you configure the zookeeper as a quorum?
>
> Am 13.09.2018 um 14:47 schrieb Gu, Steve (CDC/OD/OADS) (CTR):
> > Hi,
> >
> > I am prototyping solrcloud and I have three zookeeper servers
> (localhost:2181,localhost:2182,localhost:2183).  I set the zkHost in 
> solr.in.cmd file as:
> >
> > set ZK_HOST="localhost:2181,localhost:2182,localhost:2183"
> >
> > After zk servers have started, I got the following error when I 
> > tried to
> start solr:  localhost:2182 was unexpected at this time.
> >
> > Solr starts ok if I set ZK_Host to only one server, such as set
> ZK_HOST="localhost:2181".
> >
> > Any suggestions?
> >
> > Thanks
> > Steve
> >
>
>
>

Re: solrcloud configuration: solr failed to start with multiple zookeeper servers

Posted by Zheng Lin Edwin Yeo <ed...@gmail.com>.
Which version of Solr and ZooKeeper are you using?

What is the command that you used to start Solr?

Regards,
Edwin


On Thu, 13 Sep 2018 at 21:56, Gu, Steve (CDC/OD/OADS) (CTR) <cz...@cdc.gov>
wrote:

> Yes, my zookeeper ensemble have 3 servers and they are all up running.
>
> -----Original Message-----
> From: Pure Host - Wolfgang Freudenberger <w....@pure-host.de>
> Sent: Thursday, September 13, 2018 8:57 AM
> To: solr-user@lucene.apache.org
> Subject: Re: solrcloud configuration: solr failed to start with multiple
> zookeeper servers
>
> did you configure the zookeeper as a quorum?
>
> Am 13.09.2018 um 14:47 schrieb Gu, Steve (CDC/OD/OADS) (CTR):
> > Hi,
> >
> > I am prototyping solrcloud and I have three zookeeper servers
> (localhost:2181,localhost:2182,localhost:2183).  I set the zkHost in
> solr.in.cmd file as:
> >
> > set ZK_HOST="localhost:2181,localhost:2182,localhost:2183"
> >
> > After zk servers have started, I got the following error when I tried to
> start solr:  localhost:2182 was unexpected at this time.
> >
> > Solr starts ok if I set ZK_Host to only one server, such as set
> ZK_HOST="localhost:2181".
> >
> > Any suggestions?
> >
> > Thanks
> > Steve
> >
>
>
>

RE: solrcloud configuration: solr failed to start with multiple zookeeper servers

Posted by "Gu, Steve (CDC/OD/OADS) (CTR)" <cz...@cdc.gov>.
Yes, my zookeeper ensemble have 3 servers and they are all up running.

-----Original Message-----
From: Pure Host - Wolfgang Freudenberger <w....@pure-host.de> 
Sent: Thursday, September 13, 2018 8:57 AM
To: solr-user@lucene.apache.org
Subject: Re: solrcloud configuration: solr failed to start with multiple zookeeper servers

did you configure the zookeeper as a quorum?

Am 13.09.2018 um 14:47 schrieb Gu, Steve (CDC/OD/OADS) (CTR):
> Hi,
>
> I am prototyping solrcloud and I have three zookeeper servers (localhost:2181,localhost:2182,localhost:2183).  I set the zkHost in solr.in.cmd file as:
>
> set ZK_HOST="localhost:2181,localhost:2182,localhost:2183"
>
> After zk servers have started, I got the following error when I tried to start solr:  localhost:2182 was unexpected at this time.
>
> Solr starts ok if I set ZK_Host to only one server, such as set ZK_HOST="localhost:2181".
>
> Any suggestions?
>
> Thanks
> Steve
>