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

Error running Solr query

Contributor

Hi, dear Experts!

Could you please help with the following issue?

Ranger Audit Access tab is failing with the following error:

Error

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

in /hadoop/log/ambari-infra-solr/solr.log :

ERROR [c:audit_logs s:shard0 r:core_node2 x:audit_logs_shard0_replica1] org.apache.solr.common.SolrException (SolrException.java:148) - org.apache.solr.common.SolrException: Invalid Date String:'2017-09-05T02017


with regards,

Gulshan

4 REPLIES 4

were you able to resolve this?

New Contributor

Were you able to solve this 

 

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

 

 

Expert Contributor

Hello @a_gulshani 

 

Thanks for using Cloudera Community. Based on the Post, the RangerAudits Collection has issues, which is causing the "Error running solr query, please check solr configs. Could not find a healthy node to handle the request" Message. The Date Exception shared by you refers to "audit_logs_shard0_replica1" , which isn't related to RangerAudits Collection. 

 

The Ranger Audit UI relies on RangerAudits Collection & if the Shards of RangerAudits Collection aren't available, We get the "Error running solr query, please check solr configs. Could not find a healthy node to handle the request" Message. Open the Infra-Solr UI & Verify the State of the RangerAudits Collection by Solr UI > Cloud > Graph. If the Shards associated with RangerAudits Collection aren't Active, the Error is expected. Next, Review the Infra-Solr Service Logs & confirm the reasoning for the Shard unavailability. There can be multiple reasoning for Shard unavailability, hence Logs would be the best place to review. 

 

For a Quicker Solution & if you are willing to lose the RangerAudits, You can delete the RangerAudits Collection & Restart the RangerAdmin Service to ensure the Collection is created afresh. 

 

Kindly review & let us know your observation. 

 

- Smarak

 

Expert Contributor

Follow-Update to tag @KR_IQ @sppandita85BLR as the Original Post is Old.