You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by ga...@apache.org on 2023/02/02 07:18:52 UTC
[parquet-mr] branch master updated: PARQUET-2173: Fix parquet build against hadoop 3.3.3+ (#985)
This is an automated email from the ASF dual-hosted git repository.
gabor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-mr.git
The following commit(s) were added to refs/heads/master by this push:
new fd1326a8a PARQUET-2173: Fix parquet build against hadoop 3.3.3+ (#985)
fd1326a8a is described below
commit fd1326a8a56174320ea2f36d7c6c4e78105ab108
Author: Steve Loughran <st...@cloudera.com>
AuthorDate: Thu Feb 2 07:18:45 2023 +0000
PARQUET-2173: Fix parquet build against hadoop 3.3.3+ (#985)
1.Exclude reload4j dependencies from hadoop modules so
avoiding parquet cli convergence issues.
2.Add reload4j as a dependency to reject in compile scope.
3.Expand slf4j artifact exclusion in hadoop-* dependencies
These changes are compatible with hadoop < 3.3.3; they simply
ensure that on later versions, the reload4j dependencies
don't get picked up.
---
pom.xml | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 4e4ece519..1d7bf841f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -177,7 +177,11 @@
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>ch.qos.reload4j</groupId>
+ <artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
@@ -188,7 +192,11 @@
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>ch.qos.reload4j</groupId>
+ <artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
@@ -199,7 +207,11 @@
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>ch.qos.reload4j</groupId>
+ <artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
@@ -285,6 +297,7 @@
<bannedDependencies>
<excludes>
<exclude>org.slf4j:slf4j-log4j12:*:*:compile</exclude>
+ <exclude>org.slf4j:slf4j-reload4j:*:*:compile</exclude>
</excludes>
</bannedDependencies>
</rules>