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/11/18 14:55:33 UTC

[metron] branch feature/METRON-2088-support-hdp-3.1 updated: METRON-2314 HDFSIndexingIntegrationTests Fails with SLF4J/Log4j Delegation Loop (nickwallen) closes apache/metron#1559

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 889f113  METRON-2314 HDFSIndexingIntegrationTests Fails with SLF4J/Log4j Delegation Loop (nickwallen) closes apache/metron#1559
889f113 is described below

commit 889f113f51e9d57b6189ee32f6eec6461a19db9c
Author: nickwallen <ni...@apache.org>
AuthorDate: Mon Nov 18 09:54:58 2019 -0500

    METRON-2314 HDFSIndexingIntegrationTests Fails with SLF4J/Log4j Delegation Loop (nickwallen) closes apache/metron#1559
---
 .../metron-indexing/metron-indexing-storm/pom.xml            | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/metron-platform/metron-indexing/metron-indexing-storm/pom.xml b/metron-platform/metron-indexing/metron-indexing-storm/pom.xml
index 5327ee5..f626982 100644
--- a/metron-platform/metron-indexing/metron-indexing-storm/pom.xml
+++ b/metron-platform/metron-indexing/metron-indexing-storm/pom.xml
@@ -60,6 +60,18 @@
             <artifactId>metron-integration-test</artifactId>
             <version>${project.parent.version}</version>
             <scope>test</scope>
+            <exclusions>
+              <exclusion>
+                  <!--
+                      Exclusion needed to prevent `log4j-over-slf4j` from being
+                      pulled in from `storm-core`.  Otherwise, this results in a
+                      delegation loop when the integration tests are run.
+                      See http://www.slf4j.org/codes.html#log4jDelegationLoop.
+                     -->
+                  <groupId>org.slf4j</groupId>
+                  <artifactId>log4j-over-slf4j</artifactId>
+              </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.apache.metron</groupId>