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().withZkHost(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