Support Questions
Find answers, ask questions, and share your expertise

Delete Range Audit Solr Collection got Zookeeper Auth Error.

New Contributor

We have one local ambari HDP clusters which has been enabled kerberos and also Ranger, Kafka also is installed as the component.

We used this local Ambari Infra SolrCloud as Range Audit.

At the beginning, the Ranger Audit log is shown correctly, but after a while, we got error like the below:

"Error running solr query, please check solr configs. Could not find a healthy node to handle the request."

Now per the suggestion from Google, I got to know the collection "ranger_audits" need to be deleted and restart the Ranger.

Since we have enabled the kerberos in this Ambari Cluster, now follow the link below to try to delete the collection:

but after the Kinit is successfully and run the below CURL to try to delete collection:

>>curl -i -v --negotiate -u : "http://<My_Host_FQDN>:8886/solr/admin/collections?action=DELETE&name=ranger_audits"

I got the below exceptions:


<lst name="responseHeader"><int name="status">500</int><int name="QTime">0</int></lst><lst name="error"><str name="msg">KeeperErrorCode = AuthFailed for /overseer/collection-queue-work/qnr-</str><str name="trace">org.apache.zookeeper.KeeperException$AuthFailedException: KeeperErrorCode = AuthFailed for /overseer/collection-queue-work/qnr-

at org.apache.zookeeper.KeeperException.create(

at org.apache.zookeeper.KeeperException.create(

at org.apache.zookeeper.ZooKeeper.create(







at org.apache.solr.handler.admin.CollectionsHandler.handleResponse(

at org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(

at org.apache.solr.handler.RequestHandlerBase.handleRequest(

at org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(


at org.apache.solr.servlet.SolrDispatchFilter.doFilter(

at org.apache.solr.servlet.SolrDispatchFilter.doFilter(

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(

at org.eclipse.jetty.servlet.ServletHandler.doHandle(

at org.eclipse.jetty.server.handler.ScopedHandler.handle(


at org.eclipse.jetty.server.session.SessionHandler.doHandle(

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(

at org.eclipse.jetty.servlet.ServletHandler.doScope(

at org.eclipse.jetty.server.session.SessionHandler.doScope(

at org.eclipse.jetty.server.handler.ContextHandler.doScope(

at org.eclipse.jetty.server.handler.ScopedHandler.handle(

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(

at org.eclipse.jetty.server.handler.HandlerCollection.handle(

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(

at org.eclipse.jetty.server.Server.handle(

at org.eclipse.jetty.server.HttpChannel.handle(

at org.eclipse.jetty.server.HttpConnection.onFillable(


at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(

at org.eclipse.jetty.util.thread.QueuedThreadPool$


</str><int name="code">500</int></lst>


Seems the Zookeeper authorization is failed?

Here is the what I got:

[zk: <ZK_HOST>:2181(CONNECTED) 5] getAcl /infra-solr/overseer


: cdrwa


: r

But I am thinking seems we can NOT got authorization with /etc/security/keytabs/ambari-infra-solr.service.keytab & Zookeeper keytab at the same time?

Then How can I got authorization to delete this collection?



were you able to resolve this?

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.