This is an automated email from the ASF dual-hosted git repository.
zabetak 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 7e33d791e3a HIVE-28164: Remove log4j:log4j transitive dependency
(Raghav Aggarwal reviewed by Stamatis Zampetakis)
7e33d791e3a is described below
commit 7e33d791e3aaa237178dd28d53c8c0af40bc670e
Author: Raghav Aggarwal <[email protected]>
AuthorDate: Fri Mar 29 14:32:22 2024 +0530
HIVE-28164: Remove log4j:log4j transitive dependency (Raghav Aggarwal
reviewed by Stamatis Zampetakis)
* Bump accumulo version to 1.10.4
* Exclude log4j:log4j from slf4j-log4j12 in standalone-metastore
Close apache/hive#5172
---
pom.xml | 10 ++++++++--
.../metastore-tools/metastore-benchmarks/pom.xml | 5 -----
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/pom.xml b/pom.xml
index f0b2010ca08..f58d8d342b2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -103,7 +103,7 @@
<maven.cyclonedx.plugin.version>2.7.10</maven.cyclonedx.plugin.version>
<maven.license.plugin.version>2.3.0</maven.license.plugin.version>
<!-- Library Dependency Versions -->
- <accumulo.version>1.10.1</accumulo.version>
+ <accumulo.version>1.10.4</accumulo.version>
<ant.version>1.10.13</ant.version>
<antlr.version>3.5.2</antlr.version>
<!-- Make sure to sync it with standalone-metastore/pom.xml -->
@@ -1692,12 +1692,18 @@
<excludes>
<!-- Move to SLF4J -->
<exclude>commons-logging:commons-logging</exclude>
- <exclude>log4j:log4j</exclude>
<exclude>ch.qos.reload4j:reload4j</exclude>
</excludes>
<searchTransitive>false</searchTransitive>
<message>A banned logging dependency was found!</message>
</bannedDependencies>
+ <bannedDependencies>
+ <excludes>
+ <exclude>log4j:log4j</exclude>
+ </excludes>
+ <searchTransitive>true</searchTransitive>
+ <message>Banned log4j:log4j dependency/transitive dependency
was found!</message>
+ </bannedDependencies>
</rules>
<fail>true</fail>
</configuration>
diff --git a/standalone-metastore/metastore-tools/metastore-benchmarks/pom.xml
b/standalone-metastore/metastore-tools/metastore-benchmarks/pom.xml
index 7d62642f925..b631be69c03 100644
--- a/standalone-metastore/metastore-tools/metastore-benchmarks/pom.xml
+++ b/standalone-metastore/metastore-tools/metastore-benchmarks/pom.xml
@@ -84,11 +84,6 @@
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh.version}</version>
</dependency>
- <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12 -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>