Uploaded image for project: 'Metron'
  1. Metron
  2. METRON-2088 Support HDP 3.1.0
  3. METRON-2279

Unable to Index to Solr with Kerberos

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

       
      On the HDP 3.1 feature branch the indexing topology is unable to index telemetry to Solr when running in a secure/kerberized environment.

      2019-10-09 06:32:33.039 o.a.s.util Thread-7-indexingBolt-executor[3 3] [ERROR] Async loop died!
      java.lang.NoSuchMethodError: org.apache.http.impl.conn.PoolingHttpClientConnectionManager.setValidateAfterInactivity(I)V
              at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:277) ~[stormjar.jar:?]
              at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:328) ~[stormjar.jar:?]
              at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:266) ~[stormjar.jar:?]
              at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:253) ~[stormjar.jar:?]
              at org.apache.metron.solr.writer.SolrClientFactory.create(SolrClientFactory.java:49) ~[stormjar.jar:?]
              at org.apache.metron.solr.writer.SolrWriter.init(SolrWriter.java:171) ~[stormjar.jar:?]
              at org.apache.metron.writer.bolt.BulkMessageWriterBolt.prepare(BulkMessageWriterBolt.java:239) ~[stormjar.jar:?]
              at org.apache.storm.daemon.executor$fn__10219$fn__10232.invoke(executor.clj:810) ~[storm-core-1.2.1.3.1.4.0-315.jar:1.2.1.3.1.4.0-315]
              at org.apache.storm.util$async_loop$fn__1221.invoke(util.clj:482) [storm-core-1.2.1.3.1.4.0-315.jar:1.2.1.3.1.4.0-315]
              at clojure.lang.AFn.run(AFn.java:22) [clojure-1.7.0.jar:?]
              at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
      2019-10-09 06:32:33.166 o.a.s.d.executor Thread-7-indexingBolt-executor[3 3] [ERROR]
      java.lang.NoSuchMethodError: org.apache.http.impl.conn.PoolingHttpClientConnectionManager.setValidateAfterInactivity(I)V
              at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:277) ~[stormjar.jar:?]
              at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:328) ~[stormjar.jar:?]
              at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:266) ~[stormjar.jar:?]
              at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:253) ~[stormjar.jar:?]
              at org.apache.metron.solr.writer.SolrClientFactory.create(SolrClientFactory.java:49) ~[stormjar.jar:?]
              at org.apache.metron.solr.writer.SolrWriter.init(SolrWriter.java:171) ~[stormjar.jar:?]
              at org.apache.metron.writer.bolt.BulkMessageWriterBolt.prepare(BulkMessageWriterBolt.java:239) ~[stormjar.jar:?]
              at org.apache.storm.daemon.executor$fn__10219$fn__10232.invoke(executor.clj:810) ~[storm-core-1.2.1.3.1.4.0-315.jar:1.2.1.3.1.4.0-315]
              at org.apache.storm.util$async_loop$fn__1221.invoke(util.clj:482) [storm-core-1.2.1.3.1.4.0-315.jar:1.2.1.3.1.4.0-315]
              at clojure.lang.AFn.run(AFn.java:22) [clojure-1.7.0.jar:?]
              at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nickwallen Nick Allen
                Reporter:
                nickwallen Nick Allen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m