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

prasanthj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 80c55eb0 HIVE-18874: JDBC: HiveConnection shades log4j interfaces 
(Prasanth Jayachandran reviewed by Gopal V)
80c55eb0 is described below

commit 80c55eb0314e8d0f923765c109f7fc4538e9311a
Author: Prasanth Jayachandran <prasan...@apache.org>
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 50a3456..b060035 100644
--- a/jdbc/pom.xml
+++ b/jdbc/pom.xml
@@ -168,12 +168,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>
@@ -256,6 +250,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>
@@ -330,14 +325,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>

Reply via email to