You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by ni...@apache.org on 2019/10/08 15:47:22 UTC

[metron] branch feature/METRON-2088-support-hdp-3.1 updated: METRON-2275 Solr Indexing Topology Fails to Start on Secure Cluster with HDP 3.1 (nickwallen) closes apache/metron#1526

This is an automated email from the ASF dual-hosted git repository.

nickallen pushed a commit to branch feature/METRON-2088-support-hdp-3.1
in repository https://gitbox.apache.org/repos/asf/metron.git


The following commit(s) were added to refs/heads/feature/METRON-2088-support-hdp-3.1 by this push:
     new 5738ea3  METRON-2275 Solr Indexing Topology Fails to Start on Secure Cluster with HDP 3.1 (nickwallen) closes apache/metron#1526
5738ea3 is described below

commit 5738ea3a5129e93cb8904ad379a984a0a5825902
Author: nickwallen <ni...@apache.org>
AuthorDate: Tue Oct 8 11:46:59 2019 -0400

    METRON-2275 Solr Indexing Topology Fails to Start on Secure Cluster with HDP 3.1 (nickwallen) closes apache/metron#1526
---
 metron-platform/metron-solr/metron-solr-storm/pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/metron-platform/metron-solr/metron-solr-storm/pom.xml b/metron-platform/metron-solr/metron-solr-storm/pom.xml
index 38688fb..f160447 100644
--- a/metron-platform/metron-solr/metron-solr-storm/pom.xml
+++ b/metron-platform/metron-solr/metron-solr-storm/pom.xml
@@ -28,6 +28,7 @@
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
         <commons.config.version>1.10</commons.config.version>
+        <guava_version>${global_hbase_guava_version}</guava_version>
     </properties>
     <dependencies>
         <dependency>
@@ -159,6 +160,16 @@
                             </filters>
                             <relocations>
                                 <relocation>
+                                    <!--
+                                      Need to relocate Guava 17.0 as it is required by Curator 2.7.1. When running with
+                                      kerberos, Storm adds all jars in `$STORM_HOME/contrib/storm-autocreds` to the
+                                      classpath.  This includes Guava 28.0, which is incompatible with Curator 2.7.1.
+                                      This only seems to be a problem when running Storm with kerberos.
+                                    -->
+                                    <pattern>com.google.common</pattern>
+                                    <shadedPattern>org.apache.metron.guava.${guava_version}</shadedPattern>
+                                </relocation>
+                                <relocation>
                                     <pattern>com.fasterxml.jackson</pattern>
                                     <shadedPattern>org.apache.metron.jackson</shadedPattern>
                                 </relocation>