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

ASF subversion and git services commented on ATLAS-3222:
--------------------------------------------------------

Commit 25c3bf9abc4ac893e67318855387be7c15a33fcc in atlas's branch 
refs/heads/master from Nixon Rodrigues
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=25c3bf9 ]

ATLAS-3222:- Update httpclient jar version to 4.5.3 to fix NoSuchMethodError 
error

Change-Id: If47909376585d72bf766dab667e0ca99cdc324c0
Signed-off-by: Sarath Subramanian <sar...@apache.org>


> Update httpclient jar version to 4.5.3 to fix NoSuchMethodError error
> ---------------------------------------------------------------------
>
>                 Key: ATLAS-3222
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3222
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Nixon Rodrigues
>            Assignee: Nixon Rodrigues
>            Priority: Major
>             Fix For: trunk
>
>         Attachments: ATLAS-3222.patch
>
>
>  
> Atlas has a httpclient-4.4.1, which lacks the needed method
> {noformat}
> java.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)
> {noformat}



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

Reply via email to