Skip to content

[SPARK-59392] Upgrade Jackson to 2.22.2 - #819

Closed
dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:SPARK-59392
Closed

dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:SPARK-59392

Conversation

@dongjoon-hyun

@dongjoon-hyun dongjoon-hyun commented Sep 9, 2026

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR aims to upgrade Jackson to 2.22.2 by pinning it explicitly in gradle/libs.versions.toml and forcing every com.fasterxml.jackson* artifact to that version in the root build.gradle, in the same way as Netty and Hadoop. The same rule is applied to the root buildscript classpath so that the Gradle plugins (crd-generator-api-v2, cyclonedx) use the same Jackson version as the modules.

jackson-annotations is pinned separately to 2.22 because it uses a version scheme without a patch digit since Jackson 2.20 (2.22 is the version paired with 2.22.2 by jackson-bom).

gradle/verification-metadata.xml was regenerated from scratch.

Why are the changes needed?

Previously, Jackson was a purely transitive dependency and resolved to 2.21.4 in the modules (via Apache Spark 4.2.0) and 2.22.1 in the plugin classpath. This PR pins it explicitly to a single version and brings the latest bug fixes and security fixes.

This is also consistent with Apache Spark 5, which already moved to the Jackson 2.22.x line.

Releases:

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Fable 5.1

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Thank you, @peter-toth !

@dongjoon-hyun dongjoon-hyun added this to the 1.1.0 milestone Sep 10, 2026
@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Merged to main

@dongjoon-hyun
dongjoon-hyun deleted the SPARK-59392 branch September 10, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants