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 Zheng Lin Edwin Yeo <ed...@gmail.com> on 2019/08/01 01:25:57 UTC

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Yes, I have restarted both Solr and ZooKeeper after the changes. In fact I
have tried to restart the whole system, but the problem still persists.

Below is my configuration for zoo.cfg.

# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
# do not use /tmp for storage, /tmp here is just
# example sakes.
dataDir=C:\\solr\\zookeeper-3.5.5\\zookeeper1\\dataDir
# the port at which the clients will connect
clientPort=2181

server.1=localhost:2888:3888
server.2=localhost:2889:3889
server.3=localhost:2890:3890

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


Regards,
Edwin

On Wed, 31 Jul 2019 at 19:04, Jörn Franke <jo...@gmail.com> wrote:

> Updated correct zoo.cfg? Did you restart zookeeper after config change ?
>
> > Am 30.07.2019 um 04:05 schrieb Zheng Lin Edwin Yeo <edwinyeozl@gmail.com
> >:
> >
> > Hi,
> >
> > I am using the new Solr 8.2.0 with SolrCloud and external ZooKeeper
> 3.5.5.
> >
> > However, after adding in the line under zoo.cfg
> > *4lw.commands.whitelist=**
> >
> > I get the error under Cloud -> ZK Status in Solr
> > *"Errors: - membership: Check 4lq.commands.whitelist setting in zookeeper
> > configuration file."*
> >
> > I have noticed that the issue is cause by adding the "conf" in the
> > whitelist. But if I do not add the "conf" to the whitelist, I will get
> the
> > following error:
> > *"Errors: - conf is not executed because it is not in the whitelist.
> Check
> > 4lw.commands.whitelist setting in zookeeper configuration file."*
> >
> > What could be the issue that cause this error, and how can we resolve it.
> >
> > Thank you.
> >
> > Regards,
> > Edwin
>