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 Wed, 28 Dec 2016 06:07:59 GMT

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

Qiang Zhang updated RANGER-1270:
    Attachment: test connection successfully.png
                build success.png

> 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
>         Attachments: 0001-RANGER-1270-IndexOutOfBoundsException-when-test-conn.patch,
build success.png, test connection successfully.png
> 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

View raw message