Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-3222

Update httpclient jar version to 4.5.3 to fix NoSuchMethodError error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • trunk
    • None
    • None

    Description

       

      Atlas has a httpclient-4.4.1, which lacks the needed method

      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)
      

      Attachments

        1. ATLAS-3222.patch
          0.8 kB
          Nixon Rodrigues

        Activity

          People

            nixon Nixon Rodrigues
            nixon Nixon Rodrigues
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: