Skip to content

[SPARK-55841][BUILD] Upgrade jackson to 2.21.1 - #54626

Closed
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-55841
Closed

[SPARK-55841][BUILD] Upgrade jackson to 2.21.1#54626
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-55841

Conversation

@dongjoon-hyun

@dongjoon-hyundongjoon-hyun commented Mar 4, 2026

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR aims to upgrade jackson to 2.21.1.

Why are the changes needed?

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: Gemini 3.1 Pro (High) on Antigravity.

@dongjoon-hyundongjoon-hyun changed the title [SPARK-55841] Upgrade jackson to 2.21.1[SPARK-55841][BUILD] Upgrade jackson to 2.21.1Mar 4, 2026
dongjoon-hyun added a commit to apache/orc that referenced this pull request Mar 4, 2026
### What changes were proposed in this pull request?
This PR aims to upgrade `spark.jackson.version` to 2.21.1 in bench module.
### Why are the changes needed?
From 2.21, we need to use BOM.
https://cowtowncoder.medium.com/jackson-2-21-released-ce0b6582ae67
To use the latest version like Apache Spark.
- apache/spark#52668 (Apache Spark 4.1.0)
- apache/spark#53886 (Apache Spark 4.2.0-preview2)
- apache/spark#54626
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: `Gemini 3.1 Pro (High)` on `Antigravity`.
Closes#2570 from dongjoon-hyun/ORC-2122.
Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
dongjoon-hyun added a commit to apache/orc that referenced this pull request Mar 4, 2026
### What changes were proposed in this pull request?
This PR aims to upgrade `spark.jackson.version` to 2.21.1 in bench module.
### Why are the changes needed?
From 2.21, we need to use BOM.
https://cowtowncoder.medium.com/jackson-2-21-released-ce0b6582ae67
To use the latest version like Apache Spark.
- apache/spark#52668 (Apache Spark 4.1.0)
- apache/spark#53886 (Apache Spark 4.2.0-preview2)
- apache/spark#54626
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: `Gemini 3.1 Pro (High)` on `Antigravity`.
Closes#2570 from dongjoon-hyun/ORC-2122.
Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 8167cbc)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun

Copy link
Copy Markdown
MemberAuthor

Thank you, @HyukjinKwon . Merged to master.

dongjoon-hyun added a commit that referenced this pull request Mar 5, 2026
### What changes were proposed in this pull request?
This PR aims to update the default value of `fasterxml.jackson.version` in `SparkBuild.scala` consistently.
### Why are the changes needed?
Although we update `Jackson` to 2.21.x already, `Sparkbuild.scala` has outdated value like the following.
- #53886
- #54626https://github.com/apache/spark/blob/3126983706e0b18e2f4edd4ced516362c097933a/project/SparkBuild.scala#L1189
**MAVEN**
```
$ mvn dependency:tree | grep jackson-annotations | sort | uniq
[INFO] +- com.fasterxml.jackson.core:jackson-annotations:jar:2.21:compile
[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.21:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.21:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.21:compile
[INFO] | | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.21:compile
[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.21:compile
[INFO] | | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.21:compile
[INFO] | | | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.21:compile
```
**SBT**
```
$ build/sbt dependencyTree | grep jackson-annotations
Using SPARK_LOCAL_IP=localhost
[info] | +-com.fasterxml.jackson.core:jackson-annotations:2.20
[info] | +-com.fasterxml.jackson.core:jackson-annotations:2.20
[info] | +-com.fasterxml.jackson.core:jackson-annotations:2.20
[info] | +-com.fasterxml.jackson.core:jackson-annotations:2.20
...
```
### 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: `Gemini 3.1 Pro (High)` on `Antigravity`.
Closes#54633 from dongjoon-hyun/SPARK-55841-2.
Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun
dongjoon-hyun deleted the SPARK-55841 branch March 11, 2026 03:43
Sign up for freeto 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

@dongjoon-hyun@HyukjinKwon