Skip to content

Commit 2ee58e6

Browse files
panbingkunhimadripal
authored andcommitted
[SPARK-49541][BUILD] Upgrade log4j2 to 2.24.1
### What changes were proposed in this pull request? The pr aims to upgrade log4j2 from `2.22.1` to `2.24.1`. ### Why are the changes needed? - The full release notes: https://github.com/apache/logging-log4j2/releases/tag/rel%2F2.24.1 https://github.com/apache/logging-log4j2/releases/tag/rel%2F2.24.0 https://github.com/apache/logging-log4j2/releases/tag/rel%2F2.23.1 https://github.com/apache/logging-log4j2/releases/tag/rel%2F2.23.0 - The new version contains some bug fixes: Fix regression in JdkMapAdapterStringMap performance. (apache/logging-log4j2#2238) Fix NPE in PatternProcessor for a UNIX_MILLIS pattern (apache/logging-log4j2#2346) Fix that parameterized message formatting throws an exception when there are insufficient number of parameters. It previously simply didn't replace the '{}' sequence. The behavior changed in 2.21.0 and should be restored for backward compatibility. (apache/logging-log4j2#2380) Fix putAll() in the default thread context map implementation (apache/logging-log4j2#2942) ### 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 apache#48029 from panbingkun/SPARK-49541. Authored-by: panbingkun <[email protected]> Signed-off-by: yangjie01 <[email protected]>
1 parent d984455 commit 2ee58e6

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.22.1//log4j-1.2-api-2.22.1.jar
193-
log4j-api/2.22.1//log4j-api-2.22.1.jar
194-
log4j-core/2.22.1//log4j-core-2.22.1.jar
195-
log4j-layout-template-json/2.22.1//log4j-layout-template-json-2.22.1.jar
196-
log4j-slf4j2-impl/2.22.1//log4j-slf4j2-impl-2.22.1.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
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.27//metrics-core-4.2.27.jar

pom.xml

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

0 commit comments

Comments
 (0)