You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2022/07/21 13:40:14 UTC

[spark] branch master updated: [SPARK-39829][BUILD] Upgrade `log4j2` to 2.18.0

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1df6006ea97 [SPARK-39829][BUILD] Upgrade `log4j2` to 2.18.0
1df6006ea97 is described below

commit 1df6006ea977ae3b8c53fe33630e277e8c1bc49c
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Thu Jul 21 22:39:58 2022 +0900

    [SPARK-39829][BUILD] Upgrade `log4j2` to 2.18.0
    
    ### What changes were proposed in this pull request?
    
    This PR aims to upgrade log4j2 to 2.18.0.
    
    ### Why are the changes needed?
    
    This will bring 53 patches.
    - https://logging.apache.org/log4j/2.x/changes-report.html#a2.18.0
    - https://issues.apache.org/jira/projects/LOG4J2/versions/12351152
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the CIs
    
    Closes #37242 from dongjoon-hyun/SPARK-39829.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
 dev/deps/spark-deps-hadoop-2-hive-2.3 | 8 ++++----
 dev/deps/spark-deps-hadoop-3-hive-2.3 | 8 ++++----
 pom.xml                               | 2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/dev/deps/spark-deps-hadoop-2-hive-2.3 b/dev/deps/spark-deps-hadoop-2-hive-2.3
index af1db05ff4b..d8521647522 100644
--- a/dev/deps/spark-deps-hadoop-2-hive-2.3
+++ b/dev/deps/spark-deps-hadoop-2-hive-2.3
@@ -186,10 +186,10 @@ lapack/2.2.1//lapack-2.2.1.jar
 leveldbjni-all/1.8//leveldbjni-all-1.8.jar
 libfb303/0.9.3//libfb303-0.9.3.jar
 libthrift/0.12.0//libthrift-0.12.0.jar
-log4j-1.2-api/2.17.2//log4j-1.2-api-2.17.2.jar
-log4j-api/2.17.2//log4j-api-2.17.2.jar
-log4j-core/2.17.2//log4j-core-2.17.2.jar
-log4j-slf4j-impl/2.17.2//log4j-slf4j-impl-2.17.2.jar
+log4j-1.2-api/2.18.0//log4j-1.2-api-2.18.0.jar
+log4j-api/2.18.0//log4j-api-2.18.0.jar
+log4j-core/2.18.0//log4j-core-2.18.0.jar
+log4j-slf4j-impl/2.18.0//log4j-slf4j-impl-2.18.0.jar
 logging-interceptor/3.12.12//logging-interceptor-3.12.12.jar
 lz4-java/1.8.0//lz4-java-1.8.0.jar
 mesos/1.4.3/shaded-protobuf/mesos-1.4.3-shaded-protobuf.jar
diff --git a/dev/deps/spark-deps-hadoop-3-hive-2.3 b/dev/deps/spark-deps-hadoop-3-hive-2.3
index 28644989282..c50d8c66c21 100644
--- a/dev/deps/spark-deps-hadoop-3-hive-2.3
+++ b/dev/deps/spark-deps-hadoop-3-hive-2.3
@@ -172,10 +172,10 @@ lapack/2.2.1//lapack-2.2.1.jar
 leveldbjni-all/1.8//leveldbjni-all-1.8.jar
 libfb303/0.9.3//libfb303-0.9.3.jar
 libthrift/0.12.0//libthrift-0.12.0.jar
-log4j-1.2-api/2.17.2//log4j-1.2-api-2.17.2.jar
-log4j-api/2.17.2//log4j-api-2.17.2.jar
-log4j-core/2.17.2//log4j-core-2.17.2.jar
-log4j-slf4j-impl/2.17.2//log4j-slf4j-impl-2.17.2.jar
+log4j-1.2-api/2.18.0//log4j-1.2-api-2.18.0.jar
+log4j-api/2.18.0//log4j-api-2.18.0.jar
+log4j-core/2.18.0//log4j-core-2.18.0.jar
+log4j-slf4j-impl/2.18.0//log4j-slf4j-impl-2.18.0.jar
 logging-interceptor/3.12.12//logging-interceptor-3.12.12.jar
 lz4-java/1.8.0//lz4-java-1.8.0.jar
 mesos/1.4.3/shaded-protobuf/mesos-1.4.3-shaded-protobuf.jar
diff --git a/pom.xml b/pom.xml
index ffd2baae8aa..92478468749 100644
--- a/pom.xml
+++ b/pom.xml
@@ -113,7 +113,7 @@
     <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
     <sbt.project.name>spark</sbt.project.name>
     <slf4j.version>1.7.32</slf4j.version>
-    <log4j.version>2.17.2</log4j.version>
+    <log4j.version>2.18.0</log4j.version>
     <!-- make sure to update IsolatedClientLoader whenever this version is changed -->
     <hadoop.version>3.3.3</hadoop.version>
     <protobuf.version>2.5.0</protobuf.version>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org