[
https://issues.apache.org/jira/browse/RANGER-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Qiang Zhang reassigned RANGER-1270:
-----------------------------------
Assignee: Qiang Zhang
> IndexOutOfBoundsException when test connection in Ranger-Solr-Plugin
> --------------------------------------------------------------------
>
> Key: RANGER-1270
> URL: https://issues.apache.org/jira/browse/RANGER-1270
> Project: Ranger
> Issue Type: Bug
> Reporter: Qiang Zhang
> Assignee: Qiang Zhang
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)