Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Ranger Audit access failing

avatar
Super Collaborator

20402-ranger-audit-store.jpg

the xa_portal.log is showing error

2017-07-12 14:18:16,526 [http-bio-6080-exec-8] ERROR apache.solr.client.solrj.impl.CloudSolrClient (CloudSolrClient.java:903) - Request to collection ranger_audits failed due to (510) org.apache.solr.common.SolrException: Could not find a healthy node to handle the request., retry? 0
2017-07-12 14:18:16,526 [http-bio-6080-exec-8] ERROR org.apache.ranger.solr.SolrUtil (SolrUtil.java:78) - Error from Solr server.
org.apache.solr.common.SolrException: Could not find a healthy node to handle the request.
        at org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1094)
        at org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:870)
        at org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:806)
   
3 REPLIES 3

avatar

See if Solr server is running.

avatar
Super Collaborator

in ambari nothing is showing is red so I assume its up?

from command line I get the following :

I also changed the "Infra Solr port" to 8983 but no luck

[root@hadoop1 admin]# solr status
Found 1 Solr nodes:
Solr process 19706 from /root/solr-6.3.0/bin/solr-8983.pid not found.
[root@hadoop1 admin]#

[root@hadoop1 admin]#
[root@hadoop1 admin]# solr restart -force
Archiving 1 old GC log files to /root/solr-6.3.0/server/logs/archived
Archiving 1 console log files to /root/solr-6.3.0/server/logs/archived
Rotating solr logs, keeping a max of 9 generations
Waiting up to 180 seconds to see Solr running on port 8983 [|]
Started Solr server on port 8983 (pid=11702). Happy searching!
                                                                                                                          [root@hadoop1 admin]#
[root@hadoop1 admin]#

avatar

were you able to resolve this?