Bump SLF4J from 1.7.30 to 2.0.16. by shunping · Pull Request #33574 · apache/beam

@shunping

@shunping

@shunping

The class path of slf4j has been changed from org/slf4j/impl
to org/slf4j/jul.

Two failed tests:
- :runners:google-cloud-dataflow-java:worker:validateShadedJarContainsSlf4jJdk14
- :runners:google-cloud-dataflow-java:worker:validateShadedJarDoesntLeakNonProjectClasses
The failed tests  are under
org.apache.beam.runners.dataflow.worker.HotKeyLoggerTest

@shunping

The previous version has a compile dependency on slf4j 1.x binding, which would no longer
work with slf4j 2.x.

@shunping

@shunping

@shunping

@shunping

@shunping shunping marked this pull request as ready for review

February 5, 2025 05:52

Abacn

@shunping shunping changed the title Update slf4j version [Do not merge] Update slf4j version

Feb 6, 2025

@shunping

@shunping

@shunping shunping changed the title [Do not merge] Update slf4j version Bump slf4j from 1.7.30 to 2.0.16.

Feb 12, 2025

@shunping shunping changed the title Bump slf4j from 1.7.30 to 2.0.16. Breaking Change: Bump slf4j from 1.7.30 to 2.0.16.

Feb 12, 2025

@shunping shunping changed the title Breaking Change: Bump slf4j from 1.7.30 to 2.0.16. [Breaking Change] Bump slf4j from 1.7.30 to 2.0.16.

Feb 12, 2025

@shunping shunping changed the title [Breaking Change] Bump slf4j from 1.7.30 to 2.0.16. Bump SLF4J from 1.7.30 to 2.0.16.

Feb 13, 2025

@shunping

@Abacn Abacn mentioned this pull request

Feb 27, 2025

3 tasks

@Abacn Abacn mentioned this pull request

Mar 3, 2025

VardhanThigle pushed a commit to VardhanThigle/beam that referenced this pull request

Mar 21, 2025
* Update slf4j version

* Remove slf4j from arrow dependency exclusion.

* Fix two test failures due to upgrade slf4j-jdk14 to 2.x

The class path of slf4j has been changed from org/slf4j/impl
to org/slf4j/jul.

Two failed tests:
- :runners:google-cloud-dataflow-java:worker:validateShadedJarContainsSlf4jJdk14
- :runners:google-cloud-dataflow-java:worker:validateShadedJarDoesntLeakNonProjectClasses

* Fixed another four failed tests.

The failed tests  are under
org.apache.beam.runners.dataflow.worker.HotKeyLoggerTest

* Bump the default spark version from 3.2.2 to 3.5.0.

The previous version has a compile dependency on slf4j 1.x binding, which would no longer
work with slf4j 2.x.

* Add used but not declared deps for spark 3.5.0

* Temporary modify spark version to 3.x in sparkreceiver.

* Fix failed spark tests.

* A better workaround for Spark 3.2.x

* Take out the add-opens for tests as they were only run in java 8 and 11.

* Mention changes in CHANGES.md

* Update comments

* Move sparkReceiver/2 to sparkreceiver/3 that supports Spark 3.x.

* Minor fix on cdap spark dependency