Skip to content

[SPARK-55116][BUILD] Upgrade Jackson to 2.21.0 - #53886

Closed
LuciferYang wants to merge 1 commit into
apache:masterfrom
LuciferYang:jackson-2.21
Closed

[SPARK-55116][BUILD] Upgrade Jackson to 2.21.0#53886
LuciferYang wants to merge 1 commit into
apache:masterfrom
LuciferYang:jackson-2.21

Conversation

@LuciferYang

@LuciferYang LuciferYang commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This pr aims to upgrade Jackson from 2.20.1 to 2.21.0

Why are the changes needed?

The full release notes as follows:

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

@github-actions github-actions Bot added the BUILD label Jan 21, 2026
@github-actions

github-actions Bot commented Jan 21, 2026

Copy link
Copy Markdown

JIRA Issue Information

=== Improvement SPARK-55116 ===
Summary: Upgrade Jackson to 2.21.0
Assignee: None
Status: Open
Affected: ["4.2.0"]


This comment was automatically generated by GitHub Actions

@LuciferYang LuciferYang changed the title [BUILD] Upgrade Jackson to 2.21.0 [SPARK-55116][BUILD] Upgrade Jackson to 2.21.0 Jan 21, 2026
@LuciferYang LuciferYang changed the title [SPARK-55116][BUILD] Upgrade Jackson to 2.21.0 [SPARK-55116][BUILD] Upgrade Jackson to 2.21.0 Jan 22, 2026
@LuciferYang

Copy link
Copy Markdown
Contributor Author

merged into master. Thanks @HyukjinKwon

@LuciferYang
LuciferYang deleted the jackson-2.21 branch January 22, 2026 10:10
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 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
- #54626

https://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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants