This is an automated email from the ASF dual-hosted git repository.
prasanthj pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new f983f4e HIVE-18874: JDBC: HiveConnection shades log4j interfaces
(Prasanth Jayachandran reviewed by Gopal V)
f983f4e is described below
commit f983f4e0269d3c263237977f093768517c3d9677
Author: Prasanth Jayachandran <[email protected]>
AuthorDate: Wed Jun 12 11:27:33 2019 -0700
HIVE-18874: JDBC: HiveConnection shades log4j interfaces (Prasanth
Jayachandran reviewed by Gopal V)
---
jdbc/pom.xml | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/jdbc/pom.xml b/jdbc/pom.xml
index 217b17f..635d2d6 100644
--- a/jdbc/pom.xml
+++ b/jdbc/pom.xml
@@ -173,12 +173,6 @@
</excludes>
</filter>
<filter>
- <artifact>org.apache.logging.log4j:log4j-core</artifact>
- <excludes>
-
<exclude>org/apache/logging/log4j/core/jackson/**</exclude>
- </excludes>
- </filter>
- <filter>
<artifact>org.apache.hadoop:hadoop-common</artifact>
<includes>
<include>org/apache/hadoop/security/*</include>
@@ -261,6 +255,7 @@
<exclude>org.antlr:*</exclude>
<exclude>org.slf4j:slf4j-log4j12</exclude>
<exclude>log4j:*</exclude>
+ <exclude>org.apache.logging.log4j:*</exclude>
<exclude>antlr:*</exclude>
<exclude>aopalliance:*</exclude>
<exclude>asm:*</exclude>
@@ -336,14 +331,6 @@
<shadedPattern>org.apache.hive.org.apache.commons</shadedPattern>
</relocation>
<relocation>
- <pattern>org.apache.log4j</pattern>
-
<shadedPattern>org.apache.hive.org.apache.log4j</shadedPattern>
- </relocation>
- <relocation>
- <pattern>org.slf4j</pattern>
- <shadedPattern>org.apache.hive.org.slf4j</shadedPattern>
- </relocation>
- <relocation>
<pattern>com.facebook</pattern>
<shadedPattern>org.apache.hive.com.facebook</shadedPattern>
</relocation>