This is an automated email from the ASF dual-hosted git repository.
dongjoon-hyun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new f75ca2626a1e [SPARK-60799][BUILD] Upgrade Jackson to 2.22.4
f75ca2626a1e is described below
commit f75ca2626a1ebe537d46f97c762490835e05900b
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Nov 2 11:57:44 2026 -0800
[SPARK-60799][BUILD] Upgrade Jackson to 2.22.4
### What changes were proposed in this pull request?
This PR aims to upgrade FasterXML Jackson to 2.22.4.
### Why are the changes needed?
Jackson 2.22.4 is the latest patch release on the 2.22 line.
- https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.22.4
(2026-10-17)
- Streaming
- [#1683](https://github.com/FasterXML/jackson-core/issues/1683)
`ReaderBasedJsonParser` accepts lone surrogates in `\uXXXX` escapes in field
names
- [#1744](https://github.com/FasterXML/jackson-core/issues/1744)
`UTF8DataInputJsonParser` fails on JSON-escaped surrogate pairs in property
names
- [#1750](https://github.com/FasterXML/jackson-core/issues/1750)
`ALLOW_UNESCAPED_CONTROL_CHARS` is ignored for single-quoted string values in
UTF-8 byte parsers
- [#1742](https://github.com/FasterXML/jackson-core/issues/1742),
[#1746](https://github.com/FasterXML/jackson-core/issues/1746),
[#1756](https://github.com/FasterXML/jackson-core/issues/1756) Non-blocking
parser fixes for escaped surrogate pairs, leading decimal point numbers, and
multi-byte UTF-8 characters after a backslash escape
- [#1730](https://github.com/FasterXML/jackson-core/pull/1730)
`FilteringGeneratorDelegate` handles embedded objects, typed arrays, and
raw/binary values consistently
- Databind
- CVE-2026-110879
[#6287](https://github.com/FasterXML/jackson-databind/pull/6287) Validate type
parameters and array element types of type ids
- [#6206](https://github.com/FasterXML/jackson-databind/pull/6206)
Report a cycle through a `JsonValue` accessor as a `DatabindException`
- [#6227](https://github.com/FasterXML/jackson-databind/issues/6227)
`BeanDescription.findProperties()` is not thread-safe on a shared, cached
instance
- [#6249](https://github.com/FasterXML/jackson-databind/pull/6249)
Avoid an NPE when the parser reports `VALUE_STRING` with null text
- CBOR
- CVE-2026-106554
[#821](https://github.com/FasterXML/jackson-dataformats-binary/issues/821) Grow
the `CBORParser.TagList` backing array geometrically
`jackson-annotations` stays at 2.22 as referenced by `jackson-bom` 2.22.4.
### 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 Sonnet 5.5
Closes #60004 from dongjoon-hyun/SPARK-60799.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
dev/deps/spark-deps-hadoop-3-hive-2.3 | 12 ++++++------
pom.xml | 2 +-
project/SparkBuild.scala | 2 +-
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/dev/deps/spark-deps-hadoop-3-hive-2.3
b/dev/deps/spark-deps-hadoop-3-hive-2.3
index dc2dd9bf2882..fd1617c83e60 100644
--- a/dev/deps/spark-deps-hadoop-3-hive-2.3
+++ b/dev/deps/spark-deps-hadoop-3-hive-2.3
@@ -107,12 +107,12 @@ ini4j/0.5.4//ini4j-0.5.4.jar
istack-commons-runtime/4.1.2//istack-commons-runtime-4.1.2.jar
ivy/2.5.3//ivy-2.5.3.jar
jackson-annotations/2.22//jackson-annotations-2.22.jar
-jackson-core/2.22.3//jackson-core-2.22.3.jar
-jackson-databind/2.22.3//jackson-databind-2.22.3.jar
-jackson-dataformat-cbor/2.22.3//jackson-dataformat-cbor-2.22.3.jar
-jackson-dataformat-yaml/2.22.3//jackson-dataformat-yaml-2.22.3.jar
-jackson-datatype-jsr310/2.22.3//jackson-datatype-jsr310-2.22.3.jar
-jackson-module-scala_2.13/2.22.3//jackson-module-scala_2.13-2.22.3.jar
+jackson-core/2.22.4//jackson-core-2.22.4.jar
+jackson-databind/2.22.4//jackson-databind-2.22.4.jar
+jackson-dataformat-cbor/2.22.4//jackson-dataformat-cbor-2.22.4.jar
+jackson-dataformat-yaml/2.22.4//jackson-dataformat-yaml-2.22.4.jar
+jackson-datatype-jsr310/2.22.4//jackson-datatype-jsr310-2.22.4.jar
+jackson-module-scala_2.13/2.22.4//jackson-module-scala_2.13-2.22.4.jar
jakarta.activation-api/2.1.4//jakarta.activation-api-2.1.4.jar
jakarta.annotation-api/2.1.1//jakarta.annotation-api-2.1.1.jar
jakarta.inject-api/2.0.1//jakarta.inject-api-2.0.1.jar
diff --git a/pom.xml b/pom.xml
index 8c70122051bc..9c644ee81dc3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -185,7 +185,7 @@
<scalafmt.validateOnly>true</scalafmt.validateOnly>
<scalafmt.changedOnly>true</scalafmt.changedOnly>
<!-- Should be consistent with SparkBuild.scala and docs -->
- <fasterxml.jackson.version>2.22.3</fasterxml.jackson.version>
+ <fasterxml.jackson.version>2.22.4</fasterxml.jackson.version>
<ws.xmlschema.version>2.3.1</ws.xmlschema.version>
<snappy.version>1.1.10.12</snappy.version>
<netlib.ludovic.dev.version>3.2.0</netlib.ludovic.dev.version>
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala
index acb63935709d..0e6b3d28567e 100644
--- a/project/SparkBuild.scala
+++ b/project/SparkBuild.scala
@@ -1310,7 +1310,7 @@ object KubernetesIntegrationTests {
* Overrides to work around sbt's dependency resolution being different from
Maven's.
*/
object DependencyOverrides {
- lazy val jacksonVersion =
sys.props.get("fasterxml.jackson.version").getOrElse("2.22.3")
+ lazy val jacksonVersion =
sys.props.get("fasterxml.jackson.version").getOrElse("2.22.4")
lazy val jacksonDeps = Bom.dependencies("com.fasterxml.jackson" %
"jackson-bom" % jacksonVersion)
lazy val grpcVersion = sys.props.get("io.grpc.version").getOrElse("1.76.0")
lazy val grpcDeps = Bom.dependencies("io.grpc" % "grpc-bom" % grpcVersion)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]