Solr 8.2.0 having issue with ZooKeeper 3.5.5

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Solr 8.2.0 having issue with ZooKeeper 3.5.5

Zheng Lin Edwin Yeo
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
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Zheng Lin Edwin Yeo
Hi,

Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <[hidden email]>
wrote:

> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Jan Høydahl / Cominvent
Please look for the full log file solr.log in your Solr server, and share it via some file sharing service or gist or similar for us to be able to decipher the collection create error.

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <[hidden email]>:
>
> Hi,
>
> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <[hidden email]>
> wrote:
>
>> 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
>>

Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Jörn Franke
In reply to this post by Zheng Lin Edwin Yeo
Updated correct zoo.cfg? Did you restart zookeeper after config change ?

> Am 30.07.2019 um 04:05 schrieb Zheng Lin Edwin Yeo <[hidden email]>:
>
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Zheng Lin Edwin Yeo
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 <[hidden email]> wrote:

> Updated correct zoo.cfg? Did you restart zookeeper after config change ?
>
> > Am 30.07.2019 um 04:05 schrieb Zheng Lin Edwin Yeo <[hidden email]
> >:
> >
> > 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
>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Zheng Lin Edwin Yeo
In reply to this post by Jan Høydahl / Cominvent
Yes. You can get my full solr.log from the link below. The error is there
when I tried to create collection1 (around line 170 to 300) .

https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN

Regards,
Edwin


On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]> wrote:

> Please look for the full log file solr.log in your Solr server, and share
> it via some file sharing service or gist or similar for us to be able to
> decipher the collection create error.
>
> --
> Jan Høydahl, search solution architect
> Cominvent AS - www.cominvent.com
>
> > 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <[hidden email]
> >:
> >
> > Hi,
> >
> > Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <[hidden email]>
> > wrote:
> >
> >> 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
> >>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Jörn Franke
I confirm the issue.

Interestingly it does not happen with ZK standalone, but only in a ZK Ensemble.

It seems to be mainly cosmetic in the admin UI because Solr appears to function normally.

> Am 01.08.2019 um 03:31 schrieb Zheng Lin Edwin Yeo <[hidden email]>:
>
> Yes. You can get my full solr.log from the link below. The error is there
> when I tried to create collection1 (around line 170 to 300) .
>
> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>
> Regards,
> Edwin
>
>
>> On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]> wrote:
>>
>> Please look for the full log file solr.log in your Solr server, and share
>> it via some file sharing service or gist or similar for us to be able to
>> decipher the collection create error.
>>
>> --
>> Jan Høydahl, search solution architect
>> Cominvent AS - www.cominvent.com
>>
>>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <[hidden email]
>>> :
>>>
>>> Hi,
>>>
>>> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <[hidden email]>
>>> wrote:
>>>
>>>> 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
>>>>
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Zheng Lin Edwin Yeo
Hi Jörn,
Thank you for your reply.

I have encountered problem when I tried to create a collection with this
new version of ZooKeeper. You can find my Solr log file here:
https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN

Does it work perfectly at your side for creating collections and indexing
even when running ZooKeeper ensemble?

Regards,
Edwin


On Thu, 1 Aug 2019 at 17:39, Jörn Franke <[hidden email]> wrote:

> I confirm the issue.
>
> Interestingly it does not happen with ZK standalone, but only in a ZK
> Ensemble.
>
> It seems to be mainly cosmetic in the admin UI because Solr appears to
> function normally.
>
> > Am 01.08.2019 um 03:31 schrieb Zheng Lin Edwin Yeo <[hidden email]
> >:
> >
> > Yes. You can get my full solr.log from the link below. The error is there
> > when I tried to create collection1 (around line 170 to 300) .
> >
> > https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
> >
> > Regards,
> > Edwin
> >
> >
> >> On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]>
> wrote:
> >>
> >> Please look for the full log file solr.log in your Solr server, and
> share
> >> it via some file sharing service or gist or similar for us to be able to
> >> decipher the collection create error.
> >>
> >> --
> >> Jan Høydahl, search solution architect
> >> Cominvent AS - www.cominvent.com
> >>
> >>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <
> [hidden email]
> >>> :
> >>>
> >>> Hi,
> >>>
> >>> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <
> [hidden email]>
> >>> wrote:
> >>>
> >>>> 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
> >>>>
> >>
> >>
>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Jörn Franke
For me:
* ZK stand-alone mode - no issues
* ZK Ensemble - it seems to be only a cosmetic issue in the Admin UI (I see the same error message), but aside this Solr is working fine



> Am 01.08.2019 um 12:02 schrieb Zheng Lin Edwin Yeo <[hidden email]>:
>
> Hi Jörn,
> Thank you for your reply.
>
> I have encountered problem when I tried to create a collection with this
> new version of ZooKeeper. You can find my Solr log file here:
> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>
> Does it work perfectly at your side for creating collections and indexing
> even when running ZooKeeper ensemble?
>
> Regards,
> Edwin
>
>
>> On Thu, 1 Aug 2019 at 17:39, Jörn Franke <[hidden email]> wrote:
>>
>> I confirm the issue.
>>
>> Interestingly it does not happen with ZK standalone, but only in a ZK
>> Ensemble.
>>
>> It seems to be mainly cosmetic in the admin UI because Solr appears to
>> function normally.
>>
>>> Am 01.08.2019 um 03:31 schrieb Zheng Lin Edwin Yeo <[hidden email]
>>> :
>>>
>>> Yes. You can get my full solr.log from the link below. The error is there
>>> when I tried to create collection1 (around line 170 to 300) .
>>>
>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>
>>> Regards,
>>> Edwin
>>>
>>>
>>>> On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]>
>> wrote:
>>>>
>>>> Please look for the full log file solr.log in your Solr server, and
>> share
>>>> it via some file sharing service or gist or similar for us to be able to
>>>> decipher the collection create error.
>>>>
>>>> --
>>>> Jan Høydahl, search solution architect
>>>> Cominvent AS - www.cominvent.com
>>>>
>>>>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <
>> [hidden email]
>>>>> :
>>>>>
>>>>> Hi,
>>>>>
>>>>> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <
>> [hidden email]>
>>>>> wrote:
>>>>>
>>>>>> 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
>>>>>>
>>>>
>>>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Erick Erickson
The issue was only cosmetic in the sense that the admin UI was the only thing that was affected,
not other Solr functions when I was working on this.

Please check a few things:

1> be absolutely sure that you’ve added this in all your zoo.cfg files

2> the example on the ZooKeeper website has spaces, could you try that just to cover all bases? Stranger things have happened…

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

3> if <1> and <2> don’t work, what happens if you start your ZooKeepers with
-Dzookeeper.4lw.commands.whitelist=….

If it’s not <1> or <2>, please raise a JIRA.

Best,
Erick

Also, see: SOLR-13502 (no work has been done on this yet)

> On Aug 1, 2019, at 6:05 AM, Jörn Franke <[hidden email]> wrote:
>
> For me:
> * ZK stand-alone mode - no issues
> * ZK Ensemble - it seems to be only a cosmetic issue in the Admin UI (I see the same error message), but aside this Solr is working fine
>
>
>
>> Am 01.08.2019 um 12:02 schrieb Zheng Lin Edwin Yeo <[hidden email]>:
>>
>> Hi Jörn,
>> Thank you for your reply.
>>
>> I have encountered problem when I tried to create a collection with this
>> new version of ZooKeeper. You can find my Solr log file here:
>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>
>> Does it work perfectly at your side for creating collections and indexing
>> even when running ZooKeeper ensemble?
>>
>> Regards,
>> Edwin
>>
>>
>>> On Thu, 1 Aug 2019 at 17:39, Jörn Franke <[hidden email]> wrote:
>>>
>>> I confirm the issue.
>>>
>>> Interestingly it does not happen with ZK standalone, but only in a ZK
>>> Ensemble.
>>>
>>> It seems to be mainly cosmetic in the admin UI because Solr appears to
>>> function normally.
>>>
>>>> Am 01.08.2019 um 03:31 schrieb Zheng Lin Edwin Yeo <[hidden email]
>>>> :
>>>>
>>>> Yes. You can get my full solr.log from the link below. The error is there
>>>> when I tried to create collection1 (around line 170 to 300) .
>>>>
>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>>
>>>> Regards,
>>>> Edwin
>>>>
>>>>
>>>>> On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]>
>>> wrote:
>>>>>
>>>>> Please look for the full log file solr.log in your Solr server, and
>>> share
>>>>> it via some file sharing service or gist or similar for us to be able to
>>>>> decipher the collection create error.
>>>>>
>>>>> --
>>>>> Jan Høydahl, search solution architect
>>>>> Cominvent AS - www.cominvent.com
>>>>>
>>>>>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <
>>> [hidden email]
>>>>>> :
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <
>>> [hidden email]>
>>>>>> wrote:
>>>>>>
>>>>>>> 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
>>>>>>>
>>>>>
>>>>>
>>>

Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Erick Erickson
Interestingly, the code that sets this system property also has spaces, as:

if (System.getProperty(ZK_WHITELIST_PROPERTY) == null) {
  System.setProperty(ZK_WHITELIST_PROPERTY, "ruok, mntr, conf");
}

Don’t know if that’s relevant or just a coincidence….

> On Aug 1, 2019, at 6:58 AM, Erick Erickson <[hidden email]> wrote:
>
> The issue was only cosmetic in the sense that the admin UI was the only thing that was affected,
> not other Solr functions when I was working on this.
>
> Please check a few things:
>
> 1> be absolutely sure that you’ve added this in all your zoo.cfg files
>
> 2> the example on the ZooKeeper website has spaces, could you try that just to cover all bases? Stranger things have happened…
>
> 4lw.commands.whitelist=mntr, ruok, conf
> not
> 4lw.commands.whitelist=mntr,ruok,conf
>
> 3> if <1> and <2> don’t work, what happens if you start your ZooKeepers with
> -Dzookeeper.4lw.commands.whitelist=….
>
> If it’s not <1> or <2>, please raise a JIRA.
>
> Best,
> Erick
>
> Also, see: SOLR-13502 (no work has been done on this yet)
>
>> On Aug 1, 2019, at 6:05 AM, Jörn Franke <[hidden email]> wrote:
>>
>> For me:
>> * ZK stand-alone mode - no issues
>> * ZK Ensemble - it seems to be only a cosmetic issue in the Admin UI (I see the same error message), but aside this Solr is working fine
>>
>>
>>
>>> Am 01.08.2019 um 12:02 schrieb Zheng Lin Edwin Yeo <[hidden email]>:
>>>
>>> Hi Jörn,
>>> Thank you for your reply.
>>>
>>> I have encountered problem when I tried to create a collection with this
>>> new version of ZooKeeper. You can find my Solr log file here:
>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>
>>> Does it work perfectly at your side for creating collections and indexing
>>> even when running ZooKeeper ensemble?
>>>
>>> Regards,
>>> Edwin
>>>
>>>
>>>> On Thu, 1 Aug 2019 at 17:39, Jörn Franke <[hidden email]> wrote:
>>>>
>>>> I confirm the issue.
>>>>
>>>> Interestingly it does not happen with ZK standalone, but only in a ZK
>>>> Ensemble.
>>>>
>>>> It seems to be mainly cosmetic in the admin UI because Solr appears to
>>>> function normally.
>>>>
>>>>> Am 01.08.2019 um 03:31 schrieb Zheng Lin Edwin Yeo <[hidden email]
>>>>> :
>>>>>
>>>>> Yes. You can get my full solr.log from the link below. The error is there
>>>>> when I tried to create collection1 (around line 170 to 300) .
>>>>>
>>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>>>
>>>>> Regards,
>>>>> Edwin
>>>>>
>>>>>
>>>>>> On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]>
>>>> wrote:
>>>>>>
>>>>>> Please look for the full log file solr.log in your Solr server, and
>>>> share
>>>>>> it via some file sharing service or gist or similar for us to be able to
>>>>>> decipher the collection create error.
>>>>>>
>>>>>> --
>>>>>> Jan Høydahl, search solution architect
>>>>>> Cominvent AS - www.cominvent.com
>>>>>>
>>>>>>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <
>>>> [hidden email]
>>>>>>> :
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <
>>>> [hidden email]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> 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
>>>>>>>>
>>>>>>
>>>>>>
>>>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Jörn Franke
In reply to this post by Erick Erickson
Spaces did not change the situation. In standalone it works without spaces and the issue is only if there is an ensemble. I checked all ZK nodes have the statement and have been restarted .

So issue pics there for a ZK Ensemble only in admin UI. I will create tonight a JIRA if no one creates it before

> Am 01.08.2019 um 12:58 schrieb Erick Erickson <[hidden email]>:
>
> The issue was only cosmetic in the sense that the admin UI was the only thing that was affected,
> not other Solr functions when I was working on this.
>
> Please check a few things:
>
> 1> be absolutely sure that you’ve added this in all your zoo.cfg files
>
> 2> the example on the ZooKeeper website has spaces, could you try that just to cover all bases? Stranger things have happened…
>
> 4lw.commands.whitelist=mntr, ruok, conf
> not
> 4lw.commands.whitelist=mntr,ruok,conf
>
> 3> if <1> and <2> don’t work, what happens if you start your ZooKeepers with
> -Dzookeeper.4lw.commands.whitelist=….
>
> If it’s not <1> or <2>, please raise a JIRA.
>
> Best,
> Erick
>
> Also, see: SOLR-13502 (no work has been done on this yet)
>
>> On Aug 1, 2019, at 6:05 AM, Jörn Franke <[hidden email]> wrote:
>>
>> For me:
>> * ZK stand-alone mode - no issues
>> * ZK Ensemble - it seems to be only a cosmetic issue in the Admin UI (I see the same error message), but aside this Solr is working fine
>>
>>
>>
>>> Am 01.08.2019 um 12:02 schrieb Zheng Lin Edwin Yeo <[hidden email]>:
>>>
>>> Hi Jörn,
>>> Thank you for your reply.
>>>
>>> I have encountered problem when I tried to create a collection with this
>>> new version of ZooKeeper. You can find my Solr log file here:
>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>
>>> Does it work perfectly at your side for creating collections and indexing
>>> even when running ZooKeeper ensemble?
>>>
>>> Regards,
>>> Edwin
>>>
>>>
>>>> On Thu, 1 Aug 2019 at 17:39, Jörn Franke <[hidden email]> wrote:
>>>>
>>>> I confirm the issue.
>>>>
>>>> Interestingly it does not happen with ZK standalone, but only in a ZK
>>>> Ensemble.
>>>>
>>>> It seems to be mainly cosmetic in the admin UI because Solr appears to
>>>> function normally.
>>>>
>>>>> Am 01.08.2019 um 03:31 schrieb Zheng Lin Edwin Yeo <[hidden email]
>>>>> :
>>>>>
>>>>> Yes. You can get my full solr.log from the link below. The error is there
>>>>> when I tried to create collection1 (around line 170 to 300) .
>>>>>
>>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>>>
>>>>> Regards,
>>>>> Edwin
>>>>>
>>>>>
>>>>>> On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]>
>>>> wrote:
>>>>>>
>>>>>> Please look for the full log file solr.log in your Solr server, and
>>>> share
>>>>>> it via some file sharing service or gist or similar for us to be able to
>>>>>> decipher the collection create error.
>>>>>>
>>>>>> --
>>>>>> Jan Høydahl, search solution architect
>>>>>> Cominvent AS - www.cominvent.com
>>>>>>
>>>>>>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <
>>>> [hidden email]
>>>>>>> :
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <
>>>> [hidden email]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> 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
>>>>>>>>
>>>>>>
>>>>>>
>>>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Jan Høydahl / Cominvent
Yes please do. I made the ZkStatus UI and it works by letting the solr node that Admin UI is connected to do 4LW commands to each ZK node and then concatenate the results.

You could try to invoke each of the 4LW commands manually on each ZK server using telnet, and see if that succeeds for all hosts and commands..

telnet host.name 2181
conf

Jan Høydahl

> 1. aug. 2019 kl. 15:34 skrev Jörn Franke <[hidden email]>:
>
> Spaces did not change the situation. In standalone it works without spaces and the issue is only if there is an ensemble. I checked all ZK nodes have the statement and have been restarted .
>
> So issue pics there for a ZK Ensemble only in admin UI. I will create tonight a JIRA if no one creates it before
>
>> Am 01.08.2019 um 12:58 schrieb Erick Erickson <[hidden email]>:
>>
>> The issue was only cosmetic in the sense that the admin UI was the only thing that was affected,
>> not other Solr functions when I was working on this.
>>
>> Please check a few things:
>>
>> 1> be absolutely sure that you’ve added this in all your zoo.cfg files
>>
>> 2> the example on the ZooKeeper website has spaces, could you try that just to cover all bases? Stranger things have happened…
>>
>> 4lw.commands.whitelist=mntr, ruok, conf
>> not
>> 4lw.commands.whitelist=mntr,ruok,conf
>>
>> 3> if <1> and <2> don’t work, what happens if you start your ZooKeepers with
>> -Dzookeeper.4lw.commands.whitelist=….
>>
>> If it’s not <1> or <2>, please raise a JIRA.
>>
>> Best,
>> Erick
>>
>> Also, see: SOLR-13502 (no work has been done on this yet)
>>
>>> On Aug 1, 2019, at 6:05 AM, Jörn Franke <[hidden email]> wrote:
>>>
>>> For me:
>>> * ZK stand-alone mode - no issues
>>> * ZK Ensemble - it seems to be only a cosmetic issue in the Admin UI (I see the same error message), but aside this Solr is working fine
>>>
>>>
>>>
>>>> Am 01.08.2019 um 12:02 schrieb Zheng Lin Edwin Yeo <[hidden email]>:
>>>>
>>>> Hi Jörn,
>>>> Thank you for your reply.
>>>>
>>>> I have encountered problem when I tried to create a collection with this
>>>> new version of ZooKeeper. You can find my Solr log file here:
>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>>
>>>> Does it work perfectly at your side for creating collections and indexing
>>>> even when running ZooKeeper ensemble?
>>>>
>>>> Regards,
>>>> Edwin
>>>>
>>>>
>>>>> On Thu, 1 Aug 2019 at 17:39, Jörn Franke <[hidden email]> wrote:
>>>>>
>>>>> I confirm the issue.
>>>>>
>>>>> Interestingly it does not happen with ZK standalone, but only in a ZK
>>>>> Ensemble.
>>>>>
>>>>> It seems to be mainly cosmetic in the admin UI because Solr appears to
>>>>> function normally.
>>>>>
>>>>>> Am 01.08.2019 um 03:31 schrieb Zheng Lin Edwin Yeo <[hidden email]
>>>>>> :
>>>>>>
>>>>>> Yes. You can get my full solr.log from the link below. The error is there
>>>>>> when I tried to create collection1 (around line 170 to 300) .
>>>>>>
>>>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>>>>
>>>>>> Regards,
>>>>>> Edwin
>>>>>>
>>>>>>
>>>>>>> On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]>
>>>>> wrote:
>>>>>>>
>>>>>>> Please look for the full log file solr.log in your Solr server, and
>>>>> share
>>>>>>> it via some file sharing service or gist or similar for us to be able to
>>>>>>> decipher the collection create error.
>>>>>>>
>>>>>>> --
>>>>>>> Jan Høydahl, search solution architect
>>>>>>> Cominvent AS - www.cominvent.com
>>>>>>>
>>>>>>>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <
>>>>> [hidden email]
>>>>>>>> :
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <
>>>>> [hidden email]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> 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
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Jörn Franke
here you go:
https://issues.apache.org/jira/browse/SOLR-13672

I will check tomorrow Telnet, but I am not so optimistic it is the root
cause, because this I observed already during rolling upgrade where one
node had 3.5.5 and the other 3.4.14. They are all now on 3.5.5.
Do you have a pointer to the code. Maybe I spot something or can do further
tests based on it.

On Thu, Aug 1, 2019 at 3:59 PM Jan Høydahl <[hidden email]> wrote:

> Yes please do. I made the ZkStatus UI and it works by letting the solr
> node that Admin UI is connected to do 4LW commands to each ZK node and then
> concatenate the results.
>
> You could try to invoke each of the 4LW commands manually on each ZK
> server using telnet, and see if that succeeds for all hosts and commands..
>
> telnet host.name 2181
> conf
>
> Jan Høydahl
>
> > 1. aug. 2019 kl. 15:34 skrev Jörn Franke <[hidden email]>:
> >
> > Spaces did not change the situation. In standalone it works without
> spaces and the issue is only if there is an ensemble. I checked all ZK
> nodes have the statement and have been restarted .
> >
> > So issue pics there for a ZK Ensemble only in admin UI. I will create
> tonight a JIRA if no one creates it before
> >
> >> Am 01.08.2019 um 12:58 schrieb Erick Erickson <[hidden email]
> >:
> >>
> >> The issue was only cosmetic in the sense that the admin UI was the only
> thing that was affected,
> >> not other Solr functions when I was working on this.
> >>
> >> Please check a few things:
> >>
> >> 1> be absolutely sure that you’ve added this in all your zoo.cfg files
> >>
> >> 2> the example on the ZooKeeper website has spaces, could you try that
> just to cover all bases? Stranger things have happened…
> >>
> >> 4lw.commands.whitelist=mntr, ruok, conf
> >> not
> >> 4lw.commands.whitelist=mntr,ruok,conf
> >>
> >> 3> if <1> and <2> don’t work, what happens if you start your ZooKeepers
> with
> >> -Dzookeeper.4lw.commands.whitelist=….
> >>
> >> If it’s not <1> or <2>, please raise a JIRA.
> >>
> >> Best,
> >> Erick
> >>
> >> Also, see: SOLR-13502 (no work has been done on this yet)
> >>
> >>> On Aug 1, 2019, at 6:05 AM, Jörn Franke <[hidden email]> wrote:
> >>>
> >>> For me:
> >>> * ZK stand-alone mode - no issues
> >>> * ZK Ensemble - it seems to be only a cosmetic issue in the Admin UI
> (I see the same error message), but aside this Solr is working fine
> >>>
> >>>
> >>>
> >>>> Am 01.08.2019 um 12:02 schrieb Zheng Lin Edwin Yeo <
> [hidden email]>:
> >>>>
> >>>> Hi Jörn,
> >>>> Thank you for your reply.
> >>>>
> >>>> I have encountered problem when I tried to create a collection with
> this
> >>>> new version of ZooKeeper. You can find my Solr log file here:
> >>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
> >>>>
> >>>> Does it work perfectly at your side for creating collections and
> indexing
> >>>> even when running ZooKeeper ensemble?
> >>>>
> >>>> Regards,
> >>>> Edwin
> >>>>
> >>>>
> >>>>> On Thu, 1 Aug 2019 at 17:39, Jörn Franke <[hidden email]>
> wrote:
> >>>>>
> >>>>> I confirm the issue.
> >>>>>
> >>>>> Interestingly it does not happen with ZK standalone, but only in a ZK
> >>>>> Ensemble.
> >>>>>
> >>>>> It seems to be mainly cosmetic in the admin UI because Solr appears
> to
> >>>>> function normally.
> >>>>>
> >>>>>> Am 01.08.2019 um 03:31 schrieb Zheng Lin Edwin Yeo <
> [hidden email]
> >>>>>> :
> >>>>>>
> >>>>>> Yes. You can get my full solr.log from the link below. The error is
> there
> >>>>>> when I tried to create collection1 (around line 170 to 300) .
> >>>>>>
> >>>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
> >>>>>>
> >>>>>> Regards,
> >>>>>> Edwin
> >>>>>>
> >>>>>>
> >>>>>>> On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]>
> >>>>> wrote:
> >>>>>>>
> >>>>>>> Please look for the full log file solr.log in your Solr server, and
> >>>>> share
> >>>>>>> it via some file sharing service or gist or similar for us to be
> able to
> >>>>>>> decipher the collection create error.
> >>>>>>>
> >>>>>>> --
> >>>>>>> Jan Høydahl, search solution architect
> >>>>>>> Cominvent AS - www.cominvent.com
> >>>>>>>
> >>>>>>>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <
> >>>>> [hidden email]
> >>>>>>>> :
> >>>>>>>>
> >>>>>>>> Hi,
> >>>>>>>>
> >>>>>>>> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <
> >>>>> [hidden email]>
> >>>>>>>> wrote:
> >>>>>>>>
> >>>>>>>>> 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
> >>>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>
> >>
>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Jan Høydahl / Cominvent
https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/handler/admin/ZookeeperStatusHandler.java

Jan Høydahl

> 1. aug. 2019 kl. 20:25 skrev Jörn Franke <[hidden email]>:
>
> here you go:
> https://issues.apache.org/jira/browse/SOLR-13672
>
> I will check tomorrow Telnet, but I am not so optimistic it is the root
> cause, because this I observed already during rolling upgrade where one
> node had 3.5.5 and the other 3.4.14. They are all now on 3.5.5.
> Do you have a pointer to the code. Maybe I spot something or can do further
> tests based on it.
>
>> On Thu, Aug 1, 2019 at 3:59 PM Jan Høydahl <[hidden email]> wrote:
>>
>> Yes please do. I made the ZkStatus UI and it works by letting the solr
>> node that Admin UI is connected to do 4LW commands to each ZK node and then
>> concatenate the results.
>>
>> You could try to invoke each of the 4LW commands manually on each ZK
>> server using telnet, and see if that succeeds for all hosts and commands..
>>
>> telnet host.name 2181
>> conf
>>
>> Jan Høydahl
>>
>>> 1. aug. 2019 kl. 15:34 skrev Jörn Franke <[hidden email]>:
>>>
>>> Spaces did not change the situation. In standalone it works without
>> spaces and the issue is only if there is an ensemble. I checked all ZK
>> nodes have the statement and have been restarted .
>>>
>>> So issue pics there for a ZK Ensemble only in admin UI. I will create
>> tonight a JIRA if no one creates it before
>>>
>>>> Am 01.08.2019 um 12:58 schrieb Erick Erickson <[hidden email]
>>> :
>>>>
>>>> The issue was only cosmetic in the sense that the admin UI was the only
>> thing that was affected,
>>>> not other Solr functions when I was working on this.
>>>>
>>>> Please check a few things:
>>>>
>>>> 1> be absolutely sure that you’ve added this in all your zoo.cfg files
>>>>
>>>> 2> the example on the ZooKeeper website has spaces, could you try that
>> just to cover all bases? Stranger things have happened…
>>>>
>>>> 4lw.commands.whitelist=mntr, ruok, conf
>>>> not
>>>> 4lw.commands.whitelist=mntr,ruok,conf
>>>>
>>>> 3> if <1> and <2> don’t work, what happens if you start your ZooKeepers
>> with
>>>> -Dzookeeper.4lw.commands.whitelist=….
>>>>
>>>> If it’s not <1> or <2>, please raise a JIRA.
>>>>
>>>> Best,
>>>> Erick
>>>>
>>>> Also, see: SOLR-13502 (no work has been done on this yet)
>>>>
>>>>> On Aug 1, 2019, at 6:05 AM, Jörn Franke <[hidden email]> wrote:
>>>>>
>>>>> For me:
>>>>> * ZK stand-alone mode - no issues
>>>>> * ZK Ensemble - it seems to be only a cosmetic issue in the Admin UI
>> (I see the same error message), but aside this Solr is working fine
>>>>>
>>>>>
>>>>>
>>>>>> Am 01.08.2019 um 12:02 schrieb Zheng Lin Edwin Yeo <
>> [hidden email]>:
>>>>>>
>>>>>> Hi Jörn,
>>>>>> Thank you for your reply.
>>>>>>
>>>>>> I have encountered problem when I tried to create a collection with
>> this
>>>>>> new version of ZooKeeper. You can find my Solr log file here:
>>>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>>>>
>>>>>> Does it work perfectly at your side for creating collections and
>> indexing
>>>>>> even when running ZooKeeper ensemble?
>>>>>>
>>>>>> Regards,
>>>>>> Edwin
>>>>>>
>>>>>>
>>>>>>> On Thu, 1 Aug 2019 at 17:39, Jörn Franke <[hidden email]>
>> wrote:
>>>>>>>
>>>>>>> I confirm the issue.
>>>>>>>
>>>>>>> Interestingly it does not happen with ZK standalone, but only in a ZK
>>>>>>> Ensemble.
>>>>>>>
>>>>>>> It seems to be mainly cosmetic in the admin UI because Solr appears
>> to
>>>>>>> function normally.
>>>>>>>
>>>>>>>> Am 01.08.2019 um 03:31 schrieb Zheng Lin Edwin Yeo <
>> [hidden email]
>>>>>>>> :
>>>>>>>>
>>>>>>>> Yes. You can get my full solr.log from the link below. The error is
>> there
>>>>>>>> when I tried to create collection1 (around line 170 to 300) .
>>>>>>>>
>>>>>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Edwin
>>>>>>>>
>>>>>>>>
>>>>>>>>> On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]>
>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> Please look for the full log file solr.log in your Solr server, and
>>>>>>> share
>>>>>>>>> it via some file sharing service or gist or similar for us to be
>> able to
>>>>>>>>> decipher the collection create error.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Jan Høydahl, search solution architect
>>>>>>>>> Cominvent AS - www.cominvent.com
>>>>>>>>>
>>>>>>>>>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <
>>>>>>> [hidden email]
>>>>>>>>>> :
>>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <
>>>>>>> [hidden email]>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> 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
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Jan Høydahl / Cominvent
In reply to this post by Jörn Franke
Also try /admin/zookeeper/status endpoint in solr manually and see if you get a decent response, if not check error in logs.

Jan Høydahl

> 1. aug. 2019 kl. 20:25 skrev Jörn Franke <[hidden email]>:
>
> here you go:
> https://issues.apache.org/jira/browse/SOLR-13672
>
> I will check tomorrow Telnet, but I am not so optimistic it is the root
> cause, because this I observed already during rolling upgrade where one
> node had 3.5.5 and the other 3.4.14. They are all now on 3.5.5.
> Do you have a pointer to the code. Maybe I spot something or can do further
> tests based on it.
>
>> On Thu, Aug 1, 2019 at 3:59 PM Jan Høydahl <[hidden email]> wrote:
>>
>> Yes please do. I made the ZkStatus UI and it works by letting the solr
>> node that Admin UI is connected to do 4LW commands to each ZK node and then
>> concatenate the results.
>>
>> You could try to invoke each of the 4LW commands manually on each ZK
>> server using telnet, and see if that succeeds for all hosts and commands..
>>
>> telnet host.name 2181
>> conf
>>
>> Jan Høydahl
>>
>>> 1. aug. 2019 kl. 15:34 skrev Jörn Franke <[hidden email]>:
>>>
>>> Spaces did not change the situation. In standalone it works without
>> spaces and the issue is only if there is an ensemble. I checked all ZK
>> nodes have the statement and have been restarted .
>>>
>>> So issue pics there for a ZK Ensemble only in admin UI. I will create
>> tonight a JIRA if no one creates it before
>>>
>>>> Am 01.08.2019 um 12:58 schrieb Erick Erickson <[hidden email]
>>> :
>>>>
>>>> The issue was only cosmetic in the sense that the admin UI was the only
>> thing that was affected,
>>>> not other Solr functions when I was working on this.
>>>>
>>>> Please check a few things:
>>>>
>>>> 1> be absolutely sure that you’ve added this in all your zoo.cfg files
>>>>
>>>> 2> the example on the ZooKeeper website has spaces, could you try that
>> just to cover all bases? Stranger things have happened…
>>>>
>>>> 4lw.commands.whitelist=mntr, ruok, conf
>>>> not
>>>> 4lw.commands.whitelist=mntr,ruok,conf
>>>>
>>>> 3> if <1> and <2> don’t work, what happens if you start your ZooKeepers
>> with
>>>> -Dzookeeper.4lw.commands.whitelist=….
>>>>
>>>> If it’s not <1> or <2>, please raise a JIRA.
>>>>
>>>> Best,
>>>> Erick
>>>>
>>>> Also, see: SOLR-13502 (no work has been done on this yet)
>>>>
>>>>> On Aug 1, 2019, at 6:05 AM, Jörn Franke <[hidden email]> wrote:
>>>>>
>>>>> For me:
>>>>> * ZK stand-alone mode - no issues
>>>>> * ZK Ensemble - it seems to be only a cosmetic issue in the Admin UI
>> (I see the same error message), but aside this Solr is working fine
>>>>>
>>>>>
>>>>>
>>>>>> Am 01.08.2019 um 12:02 schrieb Zheng Lin Edwin Yeo <
>> [hidden email]>:
>>>>>>
>>>>>> Hi Jörn,
>>>>>> Thank you for your reply.
>>>>>>
>>>>>> I have encountered problem when I tried to create a collection with
>> this
>>>>>> new version of ZooKeeper. You can find my Solr log file here:
>>>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>>>>
>>>>>> Does it work perfectly at your side for creating collections and
>> indexing
>>>>>> even when running ZooKeeper ensemble?
>>>>>>
>>>>>> Regards,
>>>>>> Edwin
>>>>>>
>>>>>>
>>>>>>> On Thu, 1 Aug 2019 at 17:39, Jörn Franke <[hidden email]>
>> wrote:
>>>>>>>
>>>>>>> I confirm the issue.
>>>>>>>
>>>>>>> Interestingly it does not happen with ZK standalone, but only in a ZK
>>>>>>> Ensemble.
>>>>>>>
>>>>>>> It seems to be mainly cosmetic in the admin UI because Solr appears
>> to
>>>>>>> function normally.
>>>>>>>
>>>>>>>> Am 01.08.2019 um 03:31 schrieb Zheng Lin Edwin Yeo <
>> [hidden email]
>>>>>>>> :
>>>>>>>>
>>>>>>>> Yes. You can get my full solr.log from the link below. The error is
>> there
>>>>>>>> when I tried to create collection1 (around line 170 to 300) .
>>>>>>>>
>>>>>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Edwin
>>>>>>>>
>>>>>>>>
>>>>>>>>> On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]>
>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> Please look for the full log file solr.log in your Solr server, and
>>>>>>> share
>>>>>>>>> it via some file sharing service or gist or similar for us to be
>> able to
>>>>>>>>> decipher the collection create error.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Jan Høydahl, search solution architect
>>>>>>>>> Cominvent AS - www.cominvent.com
>>>>>>>>>
>>>>>>>>>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <
>>>>>>> [hidden email]
>>>>>>>>>> :
>>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <
>>>>>>> [hidden email]>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> 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
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Zheng Lin Edwin Yeo
In reply to this post by Jörn Franke
Yes, I tried with space and the same error occurs.

I have also tried to put * , but I am getting the same error as well.
4lw.commands.whitelist=*

Regards,
Edwin

On Thu, 1 Aug 2019 at 21:34, Jörn Franke <[hidden email]> wrote:

> Spaces did not change the situation. In standalone it works without spaces
> and the issue is only if there is an ensemble. I checked all ZK nodes have
> the statement and have been restarted .
>
> So issue pics there for a ZK Ensemble only in admin UI. I will create
> tonight a JIRA if no one creates it before
>
> > Am 01.08.2019 um 12:58 schrieb Erick Erickson <[hidden email]>:
> >
> > The issue was only cosmetic in the sense that the admin UI was the only
> thing that was affected,
> > not other Solr functions when I was working on this.
> >
> > Please check a few things:
> >
> > 1> be absolutely sure that you’ve added this in all your zoo.cfg files
> >
> > 2> the example on the ZooKeeper website has spaces, could you try that
> just to cover all bases? Stranger things have happened…
> >
> > 4lw.commands.whitelist=mntr, ruok, conf
> > not
> > 4lw.commands.whitelist=mntr,ruok,conf
> >
> > 3> if <1> and <2> don’t work, what happens if you start your ZooKeepers
> with
> > -Dzookeeper.4lw.commands.whitelist=….
> >
> > If it’s not <1> or <2>, please raise a JIRA.
> >
> > Best,
> > Erick
> >
> > Also, see: SOLR-13502 (no work has been done on this yet)
> >
> >> On Aug 1, 2019, at 6:05 AM, Jörn Franke <[hidden email]> wrote:
> >>
> >> For me:
> >> * ZK stand-alone mode - no issues
> >> * ZK Ensemble - it seems to be only a cosmetic issue in the Admin UI (I
> see the same error message), but aside this Solr is working fine
> >>
> >>
> >>
> >>> Am 01.08.2019 um 12:02 schrieb Zheng Lin Edwin Yeo <
> [hidden email]>:
> >>>
> >>> Hi Jörn,
> >>> Thank you for your reply.
> >>>
> >>> I have encountered problem when I tried to create a collection with
> this
> >>> new version of ZooKeeper. You can find my Solr log file here:
> >>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
> >>>
> >>> Does it work perfectly at your side for creating collections and
> indexing
> >>> even when running ZooKeeper ensemble?
> >>>
> >>> Regards,
> >>> Edwin
> >>>
> >>>
> >>>> On Thu, 1 Aug 2019 at 17:39, Jörn Franke <[hidden email]>
> wrote:
> >>>>
> >>>> I confirm the issue.
> >>>>
> >>>> Interestingly it does not happen with ZK standalone, but only in a ZK
> >>>> Ensemble.
> >>>>
> >>>> It seems to be mainly cosmetic in the admin UI because Solr appears to
> >>>> function normally.
> >>>>
> >>>>> Am 01.08.2019 um 03:31 schrieb Zheng Lin Edwin Yeo <
> [hidden email]
> >>>>> :
> >>>>>
> >>>>> Yes. You can get my full solr.log from the link below. The error is
> there
> >>>>> when I tried to create collection1 (around line 170 to 300) .
> >>>>>
> >>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
> >>>>>
> >>>>> Regards,
> >>>>> Edwin
> >>>>>
> >>>>>
> >>>>>> On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]>
> >>>> wrote:
> >>>>>>
> >>>>>> Please look for the full log file solr.log in your Solr server, and
> >>>> share
> >>>>>> it via some file sharing service or gist or similar for us to be
> able to
> >>>>>> decipher the collection create error.
> >>>>>>
> >>>>>> --
> >>>>>> Jan Høydahl, search solution architect
> >>>>>> Cominvent AS - www.cominvent.com
> >>>>>>
> >>>>>>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <
> >>>> [hidden email]
> >>>>>>> :
> >>>>>>>
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <
> >>>> [hidden email]>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>>> 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
> >>>>>>>>
> >>>>>>
> >>>>>>
> >>>>
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Jörn Franke
Telnet is working correct. The status endpoint seem to report the error that is displayed in the UI.

I don’t see any obvious in the code, but it might not be working for more than one node, but i am not sure exactly why.

I could not find the log line there with „membership: check 4lw“ in the source ode

> Am 02.08.2019 um 03:46 schrieb Zheng Lin Edwin Yeo <[hidden email]>:
>
> Yes, I tried with space and the same error occurs.
>
> I have also tried to put * , but I am getting the same error as well.
> 4lw.commands.whitelist=*
>
> Regards,
> Edwin
>
>> On Thu, 1 Aug 2019 at 21:34, Jörn Franke <[hidden email]> wrote:
>>
>> Spaces did not change the situation. In standalone it works without spaces
>> and the issue is only if there is an ensemble. I checked all ZK nodes have
>> the statement and have been restarted .
>>
>> So issue pics there for a ZK Ensemble only in admin UI. I will create
>> tonight a JIRA if no one creates it before
>>
>>> Am 01.08.2019 um 12:58 schrieb Erick Erickson <[hidden email]>:
>>>
>>> The issue was only cosmetic in the sense that the admin UI was the only
>> thing that was affected,
>>> not other Solr functions when I was working on this.
>>>
>>> Please check a few things:
>>>
>>> 1> be absolutely sure that you’ve added this in all your zoo.cfg files
>>>
>>> 2> the example on the ZooKeeper website has spaces, could you try that
>> just to cover all bases? Stranger things have happened…
>>>
>>> 4lw.commands.whitelist=mntr, ruok, conf
>>> not
>>> 4lw.commands.whitelist=mntr,ruok,conf
>>>
>>> 3> if <1> and <2> don’t work, what happens if you start your ZooKeepers
>> with
>>> -Dzookeeper.4lw.commands.whitelist=….
>>>
>>> If it’s not <1> or <2>, please raise a JIRA.
>>>
>>> Best,
>>> Erick
>>>
>>> Also, see: SOLR-13502 (no work has been done on this yet)
>>>
>>>> On Aug 1, 2019, at 6:05 AM, Jörn Franke <[hidden email]> wrote:
>>>>
>>>> For me:
>>>> * ZK stand-alone mode - no issues
>>>> * ZK Ensemble - it seems to be only a cosmetic issue in the Admin UI (I
>> see the same error message), but aside this Solr is working fine
>>>>
>>>>
>>>>
>>>>> Am 01.08.2019 um 12:02 schrieb Zheng Lin Edwin Yeo <
>> [hidden email]>:
>>>>>
>>>>> Hi Jörn,
>>>>> Thank you for your reply.
>>>>>
>>>>> I have encountered problem when I tried to create a collection with
>> this
>>>>> new version of ZooKeeper. You can find my Solr log file here:
>>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>>>
>>>>> Does it work perfectly at your side for creating collections and
>> indexing
>>>>> even when running ZooKeeper ensemble?
>>>>>
>>>>> Regards,
>>>>> Edwin
>>>>>
>>>>>
>>>>>> On Thu, 1 Aug 2019 at 17:39, Jörn Franke <[hidden email]>
>> wrote:
>>>>>>
>>>>>> I confirm the issue.
>>>>>>
>>>>>> Interestingly it does not happen with ZK standalone, but only in a ZK
>>>>>> Ensemble.
>>>>>>
>>>>>> It seems to be mainly cosmetic in the admin UI because Solr appears to
>>>>>> function normally.
>>>>>>
>>>>>>> Am 01.08.2019 um 03:31 schrieb Zheng Lin Edwin Yeo <
>> [hidden email]
>>>>>>> :
>>>>>>>
>>>>>>> Yes. You can get my full solr.log from the link below. The error is
>> there
>>>>>>> when I tried to create collection1 (around line 170 to 300) .
>>>>>>>
>>>>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>>>>>
>>>>>>> Regards,
>>>>>>> Edwin
>>>>>>>
>>>>>>>
>>>>>>>> On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]>
>>>>>> wrote:
>>>>>>>>
>>>>>>>> Please look for the full log file solr.log in your Solr server, and
>>>>>> share
>>>>>>>> it via some file sharing service or gist or similar for us to be
>> able to
>>>>>>>> decipher the collection create error.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Jan Høydahl, search solution architect
>>>>>>>> Cominvent AS - www.cominvent.com
>>>>>>>>
>>>>>>>>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <
>>>>>> [hidden email]
>>>>>>>>> :
>>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <
>>>>>> [hidden email]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> 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
>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Jörn Franke
In reply to this post by Zheng Lin Edwin Yeo
I just checked also the output of the telnet commands - for conf it is different for standalone compared to ensemble, will put it later in the Jira

> Am 02.08.2019 um 03:46 schrieb Zheng Lin Edwin Yeo <[hidden email]>:
>
> Yes, I tried with space and the same error occurs.
>
> I have also tried to put * , but I am getting the same error as well.
> 4lw.commands.whitelist=*
>
> Regards,
> Edwin
>
>> On Thu, 1 Aug 2019 at 21:34, Jörn Franke <[hidden email]> wrote:
>>
>> Spaces did not change the situation. In standalone it works without spaces
>> and the issue is only if there is an ensemble. I checked all ZK nodes have
>> the statement and have been restarted .
>>
>> So issue pics there for a ZK Ensemble only in admin UI. I will create
>> tonight a JIRA if no one creates it before
>>
>>> Am 01.08.2019 um 12:58 schrieb Erick Erickson <[hidden email]>:
>>>
>>> The issue was only cosmetic in the sense that the admin UI was the only
>> thing that was affected,
>>> not other Solr functions when I was working on this.
>>>
>>> Please check a few things:
>>>
>>> 1> be absolutely sure that you’ve added this in all your zoo.cfg files
>>>
>>> 2> the example on the ZooKeeper website has spaces, could you try that
>> just to cover all bases? Stranger things have happened…
>>>
>>> 4lw.commands.whitelist=mntr, ruok, conf
>>> not
>>> 4lw.commands.whitelist=mntr,ruok,conf
>>>
>>> 3> if <1> and <2> don’t work, what happens if you start your ZooKeepers
>> with
>>> -Dzookeeper.4lw.commands.whitelist=….
>>>
>>> If it’s not <1> or <2>, please raise a JIRA.
>>>
>>> Best,
>>> Erick
>>>
>>> Also, see: SOLR-13502 (no work has been done on this yet)
>>>
>>>> On Aug 1, 2019, at 6:05 AM, Jörn Franke <[hidden email]> wrote:
>>>>
>>>> For me:
>>>> * ZK stand-alone mode - no issues
>>>> * ZK Ensemble - it seems to be only a cosmetic issue in the Admin UI (I
>> see the same error message), but aside this Solr is working fine
>>>>
>>>>
>>>>
>>>>> Am 01.08.2019 um 12:02 schrieb Zheng Lin Edwin Yeo <
>> [hidden email]>:
>>>>>
>>>>> Hi Jörn,
>>>>> Thank you for your reply.
>>>>>
>>>>> I have encountered problem when I tried to create a collection with
>> this
>>>>> new version of ZooKeeper. You can find my Solr log file here:
>>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>>>
>>>>> Does it work perfectly at your side for creating collections and
>> indexing
>>>>> even when running ZooKeeper ensemble?
>>>>>
>>>>> Regards,
>>>>> Edwin
>>>>>
>>>>>
>>>>>> On Thu, 1 Aug 2019 at 17:39, Jörn Franke <[hidden email]>
>> wrote:
>>>>>>
>>>>>> I confirm the issue.
>>>>>>
>>>>>> Interestingly it does not happen with ZK standalone, but only in a ZK
>>>>>> Ensemble.
>>>>>>
>>>>>> It seems to be mainly cosmetic in the admin UI because Solr appears to
>>>>>> function normally.
>>>>>>
>>>>>>> Am 01.08.2019 um 03:31 schrieb Zheng Lin Edwin Yeo <
>> [hidden email]
>>>>>>> :
>>>>>>>
>>>>>>> Yes. You can get my full solr.log from the link below. The error is
>> there
>>>>>>> when I tried to create collection1 (around line 170 to 300) .
>>>>>>>
>>>>>>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
>>>>>>>
>>>>>>> Regards,
>>>>>>> Edwin
>>>>>>>
>>>>>>>
>>>>>>>> On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]>
>>>>>> wrote:
>>>>>>>>
>>>>>>>> Please look for the full log file solr.log in your Solr server, and
>>>>>> share
>>>>>>>> it via some file sharing service or gist or similar for us to be
>> able to
>>>>>>>> decipher the collection create error.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Jan Høydahl, search solution architect
>>>>>>>> Cominvent AS - www.cominvent.com
>>>>>>>>
>>>>>>>>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <
>>>>>> [hidden email]
>>>>>>>>> :
>>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <
>>>>>> [hidden email]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> 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
>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5

Zheng Lin Edwin Yeo
In reply to this post by Jörn Franke
Hi,

From my Solr logs, any leads on why the collection creation failed, if the
issue is only a cosmetic issue?

It can work correctly in this same new version of Solr when I use ZooKeeper
3.4.14.

Regards,
Edwin


On Thu, 1 Aug 2019 at 18:05, Jörn Franke <[hidden email]> wrote:

> For me:
> * ZK stand-alone mode - no issues
> * ZK Ensemble - it seems to be only a cosmetic issue in the Admin UI (I
> see the same error message), but aside this Solr is working fine
>
>
>
> > Am 01.08.2019 um 12:02 schrieb Zheng Lin Edwin Yeo <[hidden email]
> >:
> >
> > Hi Jörn,
> > Thank you for your reply.
> >
> > I have encountered problem when I tried to create a collection with this
> > new version of ZooKeeper. You can find my Solr log file here:
> > https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
> >
> > Does it work perfectly at your side for creating collections and indexing
> > even when running ZooKeeper ensemble?
> >
> > Regards,
> > Edwin
> >
> >
> >> On Thu, 1 Aug 2019 at 17:39, Jörn Franke <[hidden email]> wrote:
> >>
> >> I confirm the issue.
> >>
> >> Interestingly it does not happen with ZK standalone, but only in a ZK
> >> Ensemble.
> >>
> >> It seems to be mainly cosmetic in the admin UI because Solr appears to
> >> function normally.
> >>
> >>> Am 01.08.2019 um 03:31 schrieb Zheng Lin Edwin Yeo <
> [hidden email]
> >>> :
> >>>
> >>> Yes. You can get my full solr.log from the link below. The error is
> there
> >>> when I tried to create collection1 (around line 170 to 300) .
> >>>
> >>> https://drive.google.com/open?id=1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bGN
> >>>
> >>> Regards,
> >>> Edwin
> >>>
> >>>
> >>>> On Wed, 31 Jul 2019 at 18:39, Jan Høydahl <[hidden email]>
> >> wrote:
> >>>>
> >>>> Please look for the full log file solr.log in your Solr server, and
> >> share
> >>>> it via some file sharing service or gist or similar for us to be able
> to
> >>>> decipher the collection create error.
> >>>>
> >>>> --
> >>>> Jan Høydahl, search solution architect
> >>>> Cominvent AS - www.cominvent.com
> >>>>
> >>>>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo <
> >> [hidden email]
> >>>>> :
> >>>>>
> >>>>> Hi,
> >>>>>
> >>>>> Regarding the issue, 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 Tue, 30 Jul 2019 at 10:05, Zheng Lin Edwin Yeo <
> >> [hidden email]>
> >>>>> wrote:
> >>>>>
> >>>>>> 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
> >>>>>>
> >>>>
> >>>>
> >>
>
12