Skip to content

Commit 3cdebbe

Browse files
panbingkundongjoon-hyun
authored andcommitted
[SPARK-50400][BUILD] Upgrade log4j2 to 2.24.2
### What changes were proposed in this pull request? The pr aims to upgrade log4j2 from `2.24.1` to `2.24.2`. ### Why are the changes needed? - The full release notes: https://github.com/apache/logging-log4j2/releases/tag/rel%2F2.24.2 - This release fixes a critical bug in Log4j API initialization code, which can cause LogManager.getLogger() to return null under certain conditions. See apache/logging-log4j2#3143 for details. Fix key removal issues in Thread Context (apache/logging-log4j2#3048) Use hard references to Loggers in LoggerRegistry. (apache/logging-log4j2#3143) Fix ArrayIndexOutOfBoundsException in JSON Template Layout truncated exception resolver (apache/logging-log4j2#3216) ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass GA. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #48945 from panbingkun/SPARK-50400. Authored-by: panbingkun <panbingkun@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
1 parent d356b17 commit 3cdebbe

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dev/deps/spark-deps-hadoop-3-hive-2.3

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,11 @@ leveldbjni-all/1.8//leveldbjni-all-1.8.jar
189189
libfb303/0.9.3//libfb303-0.9.3.jar
190190
libthrift/0.16.0//libthrift-0.16.0.jar
191191
listenablefuture/9999.0-empty-to-avoid-conflict-with-guava//listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
192-
log4j-1.2-api/2.24.1//log4j-1.2-api-2.24.1.jar
193-
log4j-api/2.24.1//log4j-api-2.24.1.jar
194-
log4j-core/2.24.1//log4j-core-2.24.1.jar
195-
log4j-layout-template-json/2.24.1//log4j-layout-template-json-2.24.1.jar
196-
log4j-slf4j2-impl/2.24.1//log4j-slf4j2-impl-2.24.1.jar
192+
log4j-1.2-api/2.24.2//log4j-1.2-api-2.24.2.jar
193+
log4j-api/2.24.2//log4j-api-2.24.2.jar
194+
log4j-core/2.24.2//log4j-core-2.24.2.jar
195+
log4j-layout-template-json/2.24.2//log4j-layout-template-json-2.24.2.jar
196+
log4j-slf4j2-impl/2.24.2//log4j-slf4j2-impl-2.24.2.jar
197197
logging-interceptor/3.12.12//logging-interceptor-3.12.12.jar
198198
lz4-java/1.8.0//lz4-java-1.8.0.jar
199199
metrics-core/4.2.28//metrics-core-4.2.28.jar

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
<sbt.project.name>spark</sbt.project.name>
122122
<asm.version>9.7.1</asm.version>
123123
<slf4j.version>2.0.16</slf4j.version>
124-
<log4j.version>2.24.1</log4j.version>
124+
<log4j.version>2.24.2</log4j.version>
125125
<!-- make sure to update IsolatedClientLoader whenever this version is changed -->
126126
<hadoop.version>3.4.1</hadoop.version>
127127
<!-- SPARK-41247: When updating `protobuf.version`, also need to update `protoVersion` in `SparkBuild.scala` -->

0 commit comments

Comments
 (0)