ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andras Salamon (Jira)" <j...@apache.org>
Subject [jira] [Created] (RANGER-3290) ArrayIndexOutOfBoundsException if solr is down
Date Thu, 20 May 2021 14:27:00 GMT
Andras Salamon created RANGER-3290:

             Summary: ArrayIndexOutOfBoundsException if solr is down
                 Key: RANGER-3290
                 URL: https://issues.apache.org/jira/browse/RANGER-3290
             Project: Ranger
          Issue Type: Improvement
          Components: audit
            Reporter: Andras Salamon

uploads a config to solr and creates a collection.

If solr is down (there are no live servers) during the collection creation phase, we got a
meaningful error message (from catalina.out):

{noformat}May 19, 2021 4:37:44 PM org.apache.ranger.server.tomcat.SolrCollectionBootstrapper
SEVERE: getCollections() operation failed : org.apache.solr.client.solrj.SolrServerException:
No live SolrServers available to handle this request{noformat}

On the other hand, if solr is down during the config upload phase the error message is not
too useful:

{noformat}May 20, 2021 8:07:59 AM org.apache.ranger.server.tomcat.SolrCollectionBootstrapper
SEVERE: Error while uploading configs : java.lang.ArrayIndexOutOfBoundsException: 0{noformat}

This message was sent by Atlassian Jira

View raw message