Skip to content

Commit 8f0ac3b

Browse files
LuciferYangdongjoon-hyun
authored andcommitted
[SPARK-51367][BUILD] Upgrade slf4j to 2.0.17
### What changes were proposed in this pull request? This pr aims to upgrade slf4j from 2.0.16 to 2.0.17. ### Why are the changes needed? The new version brings some bug fixes, like: - As reported in qos-ch/slf4j#450, in some rare cases where MDC could be initialized before LoggerFactory. Thus, MDC would be stuck using the wrong MDCAdapter instance. To fix this issue LoggerFactory and MDC have been modified. Implementations of SLF4JServiceProvider are encouraged to initialize their mdcAdapter and markerFactory fields as early as possible, preferably at construction time. Note that these changes are transparent to existing logging backends which will continue to work as is. - Fixed incorrect interpretation of Level.OFF and Level.ALL in SLF4JPlatformLogger by mapping Level.OFF as Level.ERROR and Level.ALL as Level.TRACE. This issue was reported in qos-ch/slf4j#430 by Peter Halicky. The full release notes as follows: - https://github.com/qos-ch/slf4j/releases/tag/v_2.0.17 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass GitHub Actions ### Was this patch authored or co-authored using generative AI tooling? No Closes #50115 from LuciferYang/slf4j-2.0.17. Lead-authored-by: yangjie01 <[email protected]> Co-authored-by: YangJie <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 3d949af commit 8f0ac3b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ javax.servlet-api/4.0.1//javax.servlet-api-4.0.1.jar
129129
javolution/5.5.1//javolution-5.5.1.jar
130130
jaxb-core/4.0.5//jaxb-core-4.0.5.jar
131131
jaxb-runtime/4.0.5//jaxb-runtime-4.0.5.jar
132-
jcl-over-slf4j/2.0.16//jcl-over-slf4j-2.0.16.jar
132+
jcl-over-slf4j/2.0.17//jcl-over-slf4j-2.0.17.jar
133133
jdo-api/3.0.1//jdo-api-3.0.1.jar
134134
jdom2/2.0.6//jdom2-2.0.6.jar
135135
jersey-client/3.0.16//jersey-client-3.0.16.jar
@@ -157,7 +157,7 @@ json4s-jackson_2.13/4.0.7//json4s-jackson_2.13-4.0.7.jar
157157
json4s-scalap_2.13/4.0.7//json4s-scalap_2.13-4.0.7.jar
158158
jsr305/3.0.0//jsr305-3.0.0.jar
159159
jta/1.1//jta-1.1.jar
160-
jul-to-slf4j/2.0.16//jul-to-slf4j-2.0.16.jar
160+
jul-to-slf4j/2.0.17//jul-to-slf4j-2.0.17.jar
161161
kryo-shaded/4.0.2//kryo-shaded-4.0.2.jar
162162
kubernetes-client-api/7.1.0//kubernetes-client-api-7.1.0.jar
163163
kubernetes-client/7.1.0//kubernetes-client-7.1.0.jar
@@ -259,7 +259,7 @@ scala-parallel-collections_2.13/1.2.0//scala-parallel-collections_2.13-1.2.0.jar
259259
scala-parser-combinators_2.13/2.4.0//scala-parser-combinators_2.13-2.4.0.jar
260260
scala-reflect/2.13.16//scala-reflect-2.13.16.jar
261261
scala-xml_2.13/2.3.0//scala-xml_2.13-2.3.0.jar
262-
slf4j-api/2.0.16//slf4j-api-2.0.16.jar
262+
slf4j-api/2.0.17//slf4j-api-2.0.17.jar
263263
snakeyaml-engine/2.9//snakeyaml-engine-2.9.jar
264264
snakeyaml/2.3//snakeyaml-2.3.jar
265265
snappy-java/1.1.10.7//snappy-java-1.1.10.7.jar

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
<exec-maven-plugin.version>3.5.0</exec-maven-plugin.version>
121121
<sbt.project.name>spark</sbt.project.name>
122122
<asm.version>9.7.1</asm.version>
123-
<slf4j.version>2.0.16</slf4j.version>
123+
<slf4j.version>2.0.17</slf4j.version>
124124
<log4j.version>2.24.3</log4j.version>
125125
<!-- make sure to update IsolatedClientLoader whenever this version is changed -->
126126
<hadoop.version>3.4.1</hadoop.version>

0 commit comments

Comments
 (0)