From solr-user-return-149070-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Fri Aug 2 01:47:08 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C1664180644 for ; Fri, 2 Aug 2019 03:47:07 +0200 (CEST) Received: (qmail 70802 invoked by uid 500); 2 Aug 2019 01:46:59 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 70790 invoked by uid 99); 2 Aug 2019 01:46:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Aug 2019 01:46:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 139B61A336F for ; Fri, 2 Aug 2019 01:46:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.303 X-Spam-Level: ** X-Spam-Status: No, score=2.303 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, NUMERIC_HTTP_ADDR=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id vfjPdyjevSym for ; Fri, 2 Aug 2019 01:46:56 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.170; helo=mail-lj1-f170.google.com; envelope-from=edwinyeozl@gmail.com; receiver= Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 9DCABBC7AD for ; Fri, 2 Aug 2019 01:46:55 +0000 (UTC) Received: by mail-lj1-f170.google.com with SMTP id z28so17045409ljn.4 for ; Thu, 01 Aug 2019 18:46:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=dC0rS5stnC4YwyA2LGDLq+5ebuR9yccKCL63WnquOvE=; b=HEDuEUAMIWgheOAFTbRT3BAz7m9s1Ip5ur5Ohr0Fli6DIiragG0gcGtMNEd+GdhnvZ W0PluwX0Bi3nWj3A63KnMiHsbw2GZ4VQJdz2lHeT4pGoqUPHNEMqIzTNSSFdHd3JYSZ+ VbJDFZlACWLrNxMfbAkMidv3N6+r5aHMB337lv23hImJ1Qw9qnH/n/PUxOiaiCS+h7vV aS8SlBTvZBUhVN5+VctcoPIma/epk0jyiXh5Nkw8Ipn0T8JowRg2B+ctPD+pjJpIW9wN ECBpFUShcJ8/9L0agU7NjkS3pTjdCQh7xNvg7kTG+hNdwN/6hHkZFg5b4djYOMkSkKHu jK9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=dC0rS5stnC4YwyA2LGDLq+5ebuR9yccKCL63WnquOvE=; b=aeG2PLYkVUe2clKQtYZvNVQ1e7wDRJpJKsO8v1IykRPGfNcU0zZk46+Eq58EHAhzeQ kaXNOtdeKdeVpvirqem6juCuD0TTUI92dsokZ3vbGikweVs+/aarHPgSXxzP6dexPz3Z Djx7AcwYjotUTGhz3alQiq56KUqWT9J8oV7g9uhttY9nKzNZfrcxrrVdYZ3ce1GehaHg BjhOXge8hygYsvubXLBLYKOc+jRimWrg8b0jkfKGsUrX70b/+Mj4smerENlJcxDpV0Df /PehPLJtWRv6LTN5EVXd7jlNNzBTG+LB6IGu4AOuiQuqOi3Bp5PwYYz/RUIqQYfyh7jG 8gdg== X-Gm-Message-State: APjAAAVkAFIrNZbJiSUkUuwnRy1lQYogQRoW7tfJZaKy8FFqxpegqv/t 9dFo/y6pzY4fA6YnMKhywjjJOcuCgpKaOfMNum2wGcns X-Google-Smtp-Source: APXvYqzikZ5cqwflrlz7TNyfgFm4kN8K8h0YaIkQJttQO9UIEnvgPyuOvUM4p0qJzKdtCs8327W/Yl6LRHL5lfcGzyk= X-Received: by 2002:a2e:3e01:: with SMTP id l1mr48048048lja.208.1564710413872; Thu, 01 Aug 2019 18:46:53 -0700 (PDT) MIME-Version: 1.0 References: <6B900E16-4589-472D-853F-A34AADAA5806@gmail.com> In-Reply-To: From: Zheng Lin Edwin Yeo Date: Fri, 2 Aug 2019 09:46:43 +0800 Message-ID: Subject: Re: Solr 8.2.0 having issue with ZooKeeper 3.5.5 To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary="00000000000065302c058f1888fc" --00000000000065302c058f1888fc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D* Regards, Edwin On Thu, 1 Aug 2019 at 21:34, J=C3=B6rn Franke wrote: > Spaces did not change the situation. In standalone it works without space= s > and the issue is only if there is an ensemble. I checked all ZK nodes hav= e > 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 = : > > > > 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=E2=80=99ve added this in all your zoo.cf= g files > > > > 2> the example on the ZooKeeper website has spaces, could you try that > just to cover all bases? Stranger things have happened=E2=80=A6 > > > > 4lw.commands.whitelist=3Dmntr, ruok, conf > > not > > 4lw.commands.whitelist=3Dmntr,ruok,conf > > > > 3> if <1> and <2> don=E2=80=99t work, what happens if you start your Zo= oKeepers > with > > -Dzookeeper.4lw.commands.whitelist=3D=E2=80=A6. > > > > If it=E2=80=99s 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=C3=B6rn Franke wr= ote: > >> > >> 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 < > edwinyeozl@gmail.com>: > >>> > >>> Hi J=C3=B6rn, > >>> 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=3D1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-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=C3=B6rn Franke > wrote: > >>>> > >>>> I confirm the issue. > >>>> > >>>> Interestingly it does not happen with ZK standalone, but only in a Z= K > >>>> 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 < > edwinyeozl@gmail.com > >>>>> : > >>>>> > >>>>> 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=3D1qkMLTRJ4eDSFwbqr15wSqjbg4dJV-bG= N > >>>>> > >>>>> Regards, > >>>>> Edwin > >>>>> > >>>>> > >>>>>> On Wed, 31 Jul 2019 at 18:39, Jan H=C3=B8ydahl > >>>> wrote: > >>>>>> > >>>>>> Please look for the full log file solr.log in your Solr server, an= d > >>>> share > >>>>>> it via some file sharing service or gist or similar for us to be > able to > >>>>>> decipher the collection create error. > >>>>>> > >>>>>> -- > >>>>>> Jan H=C3=B8ydahl, search solution architect > >>>>>> Cominvent AS - www.cominvent.com > >>>>>> > >>>>>>> 31. jul. 2019 kl. 08:33 skrev Zheng Lin Edwin Yeo < > >>>> edwinyeozl@gmail.com > >>>>>>> : > >>>>>>> > >>>>>>> Hi, > >>>>>>> > >>>>>>> Regarding the issue, I have tried to put the following in zoo.cfg > under > >>>>>>> ZooKeeper: > >>>>>>> 4lw.commands.whitelist=3Dmntr,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 loade= d > 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:IOExcepti= on > >>>>>>> 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:IOExcepti= on > >>>>>>> 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 < > >>>> edwinyeozl@gmail.com> > >>>>>>> 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=3D** > >>>>>>>> > >>>>>>>> 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 t= he > >>>>>>>> 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 > >>>>>>>> > >>>>>> > >>>>>> > >>>> > > > --00000000000065302c058f1888fc--