Description
Hi All,
I follow the steps to config Solr for Ranger Audit as below url: https://cwiki.apache.org/confluence/display/RANGER/Install+and+Configure+Solr+for+Ranger+Audits+-+Apache+Ranger+0.5, but when I try to create a policy, after I click on 'Test Connection' button, it always pop out an error 'IndexOutOfBoundsException'.
I checked the logs and found below infornmation:
at org.apache.ranger.services.solr.client.ServiceSolrClient.getCollectionList(ServiceSolrClient.java:109)
at org.apache.ranger.services.solr.client.ServiceSolrClient.connectionTest(ServiceSolrClient.java:78)
at org.apache.ranger.services.solr.client.ServiceSolrConnectionMgr.connectionTest(ServiceSolrConnectionMgr.java:56)
at org.apache.ranger.services.solr.RangerServiceSolr.validateConfig(RangerServiceSolr.java:56)
Question1: As I can see from the website, there is a step called 'config Solr with Kerberos for ranger', does that mean we must install Kerberos first?
Question2: I go through the source codes, and found if 'ignoreCollectionList' is null, it will always pop out 'IndexOutOfBoundsException' when test connection.
Thanks.
Attachments
Attachments
Issue Links
- duplicates
-
RANGER-1219 Test Connection of solr service will throw java.lang.IndexOutOfBoundsException
- Resolved