ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qiang Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (RANGER-1270) IndexOutOfBoundsException when test connection in Ranger-Solr-Plugin
Date Tue, 20 Dec 2016 09:03:58 GMT

     [ https://issues.apache.org/jira/browse/RANGER-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Qiang Zhang updated RANGER-1270:
--------------------------------
    Assignee:     (was: 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
>
> 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)

Mime
View raw message