Sure. I have another thread on this in the Solr mailing list. Regards, Edwin
On Wed, 31 Jul 2019 at 14:04, Jörn Franke <[email protected]> wrote: > Could be a Solr issue. Check the Solr mailing list - they can help you > there better on Solr issues. > > > Am 31.07.2019 um 04:27 schrieb Zheng Lin Edwin Yeo <[email protected] > >: > > > > Thanks everyone for your reply. > > > > I have tried to put the following in zoo.cfg under ZooKeeper: > > 4lw.commands.whitelist=mntr,conf,ruok > > > > But it is still showing this error. > > *"Errors: - membership: Check 4lq.commands.whitelist setting in zookeeper > > configuration file."* > > > > As I am using SolrCloud, the collection config can still be loaded to > > ZooKeeper as per normal. But if I tried to create a collection, I will > get > > the following error: > > > > { > > "responseHeader":{ > > "status":400, > > "QTime":686}, > > "failure":{ > > "192.168.1.2:8983 > _solr":"org.apache.solr.client.solrj.SolrServerException:IOException > > occurred when talking to server at: http://192.168.1.2:8983/solr", > > "192.168.1.2:8984 > _solr":"org.apache.solr.client.solrj.SolrServerException:IOException > > occurred when talking to server at: http://192.168.1.2:8984/solr"}, > > "Operation create caused > > > exception:":"org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: > > Underlying core creation failed while creating collection: collection1", > > "exception":{f > > "msg":"Underlying core creation failed while creating collection: > > collection1", > > "rspCode":400}, > > "error":{ > > "metadata":[ > > "error-class","org.apache.solr.common.SolrException", > > "root-error-class","org.apache.solr.common.SolrException"], > > "msg":"Underlying core creation failed while creating collection: > > collection1", > > "code":400}} > > > > Is there anything which I may have missed out? > > > > Regards, > > Edwin > > > >> On Wed, 31 Jul 2019 at 00:12, Shawn Heisey <[email protected]> wrote: > >> > >>> On 7/29/2019 11:45 PM, Enrico Olivelli wrote: > >>> Due to potential security risks since ZK 3.5 you have to explicitly > >>> whitelist some commands. > >> > >> The 3.5.5 documentation says that "*" can be used to whitelist all > >> commands. > >> > >> But what you just said seems to contradict that. If your statement is > >> more accurate, then the documentation should be updated to list the > >> commands that are NOT enabled when using a wildcard. > >> > >> There is a SOLR issue to upgrade the client in Solr to 3.5.5: > >> > >> https://issues.apache.org/jira/browse/SOLR-8346 > >> > >> A comment was made on this issue saying that the following config is > >> needed when the server is running 3.5.x: > >> > >> 4lw.commands.whitelist=mntr,conf,ruok > >> > >> Thanks, > >> Shawn > >> >
