ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Agrawal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RANGER-2421) Solr audit fails in Atlas plugin
Date Tue, 21 May 2019 13:25:00 GMT

    [ https://issues.apache.org/jira/browse/RANGER-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16844828#comment-16844828
] 

Pradeep Agrawal commented on RANGER-2421:
-----------------------------------------

[~zsombor] I have committed the patch as I am also getting same issue. 

Please close the RR.

Thanks.

> Solr audit fails in Atlas plugin
> --------------------------------
>
>                 Key: RANGER-2421
>                 URL: https://issues.apache.org/jira/browse/RANGER-2421
>             Project: Ranger
>          Issue Type: Bug
>          Components: audit, plugins
>            Reporter: Zsombor Gegesy
>            Assignee: Zsombor Gegesy
>            Priority: Major
>              Labels: atlas, audit, plugin
>         Attachments: RANGER-2421.patch
>
>
> Due to http client version difference, and the lack of httpclient-4.5.3.jar inside the
ranger-atlas-plugin/lib/ranger-atlas-plugin-impl/ folder, the following exception can be seen:
> {code}
> ava.lang.NoSuchMethodError: org.apache.http.impl.client.HttpClientBuilder.evictIdleConnections(JLjava/util/concurrent/TimeUnit;)Lorg/apache/http/impl/client/HttpClientBuilder;
>         at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:311)
>         at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:330)
>         at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:268)
>         at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:255)
>         at org.apache.solr.client.solrj.impl.CloudSolrClient.<init>(CloudSolrClient.java:280)
>         at org.apache.solr.client.solrj.impl.CloudSolrClient$Builder.build(CloudSolrClient.java:1600)
>         at org.apache.ranger.audit.destination.SolrAuditDestination$1.run(SolrAuditDestination.java:126)
>         at org.apache.ranger.audit.destination.SolrAuditDestination$1.run(SolrAuditDestination.java:123)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:422)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1730)
>         at org.apache.ranger.audit.provider.MiscUtil.executePrivilegedAction(MiscUtil.java:516)
>         at org.apache.ranger.audit.destination.SolrAuditDestination.connect(SolrAuditDestination.java:123)
>         at org.apache.ranger.audit.destination.SolrAuditDestination.init(SolrAuditDestination.java:72)
>         at org.apache.ranger.audit.provider.AuditProviderFactory.init(AuditProviderFactory.java:179)
>         at org.apache.ranger.plugin.service.RangerBasePlugin.init(RangerBasePlugin.java:217)
> {code}
> Atlas has a httpclient-4.4.x, which lacks the needed method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message