lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamás Barta <bartata...@gmail.com>
Subject Re: How to avoid warning message
Date Thu, 01 Feb 2018 08:38:08 GMT
Hi,

Thank you for your response. I managed to find the solution. At client side
I have to set -Dzookeeper.sasl.client=false system property to disable SASL
authentication.

On Wed, Jan 31, 2018 at 6:15 PM, Shawn Heisey <apache@elyograg.org> wrote:

> On 1/31/2018 9:07 AM, Tamás Barta wrote:
>
>> I'm using Solr 6.6.2 and I use Zookeeper too handle Solr cloud. In Java
>> client I use SolrJ this way:
>>
>> *client = new CloudSolrClient.Builder().with
>> ZkHost(zkHostString).build();*
>>
>>
>> In the log I see the followings:
>>
>> *WARN  [org.apache.zookeeper.SaslClientCallbackHandler] Could not login:
>> the Client is being asked for a password, but the ZooKeeper Client code
>>
>
> The ZK servers have authentication configured, but you haven't configured
> any credentials for Solr.
>
> After that everything works. What should I do to avoid this message? I
>> don't want any authentication between the client and Zookeepers as they
>> are
>> not available from outside.
>>
>
> You're probably going to need to enlist the help of the ZooKeeper user
> mailing list on how to disable their authentication, or at least disable it
> for the Solr servers.
>
> If you do end up using ZK authentication, here's Solr's documentation on
> it:
>
> https://lucene.apache.org/solr/guide/7_2/zookeeper-access-control.html
>
> Thanks,
> Shawn
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message