This is an automated email from the ASF dual-hosted git repository.
Gabriel39 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new b3df3e92a14 [deps](fe) Upgrade Parquet to 1.18.2 and Snappy to
1.1.10.12 (#71189)
b3df3e92a14 is described below
commit b3df3e92a149d4d0bea1e521f9830583788b7b0f
Author: Gabriel <[email protected]>
AuthorDate: Tue Dec 1 15:12:41 2026 +0800
[deps](fe) Upgrade Parquet to 1.18.2 and Snappy to 1.1.10.12 (#71189)
### Background
Doris bundles Java Parquet and Snappy in the FE and BE Java extensions.
Iceberg V4 manifest reads use these libraries in both FE planning and
the BE metadata scanner. Parquet also embeds Jackson classes under a
relocated package name.
### What problem does this PR solve?
Issue Number: None
Related PR: #70869 (follow-up to its dependency security review)
PR Type: Release/Dependency
Problem Summary:
The shared Maven baseline still selects Parquet 1.18.1, with embedded
Jackson 2.22.2, and Snappy 1.1.10.5. Upgrade both shared version
properties so the FE and BE Iceberg packages include patched
dependencies. Updating the ordinary Jackson BOM cannot replace Parquet's
relocated classes, and upgrading Parquet alone cannot override the
parent-managed Snappy version.
### Details
- **Versions:** Maven Central artifacts: Parquet 1.18.1 → 1.18.2 and
`snappy-java` 1.1.10.5 → 1.1.10.12. Parquet's embedded Jackson Core and
Databind become 2.22.4. Both targets were the latest published releases
when checked.
- **Upstream changes:** [Parquet
1.18.2](https://github.com/apache/parquet-java/releases/tag/apache-parquet-1.18.2)
updates embedded Jackson for CVE-2026-110879, CVE-2026-89407 and
CVE-2026-89425, alongside column-path and buffer-cleanup fixes. Snappy's
[native bounds and length
validation](https://github.com/xerial/snappy-java/pull/739) addresses
CVE-2026-108106 and CVE-2026-90559;
[1.1.10.12](https://github.com/xerial/snappy-java/releases/tag/v1.1.10.12)
also handles Hadoop's eight-byte block header. Declared licenses remain
Apache 2.0, with existing LICENSE/NOTICE coverage retained.
- **Compatibility:** Built and tested with JDK 17.0.16 on Linux x86_64.
Both Java runtime closures pass SNAPPY Parquet reads/writes and native
buffer-validation checks. No Doris protocol or storage-format definition
changes; non-x86_64 runtime execution was not tested.
- **Rollback:** Revert the two version properties, rebuild, and redeploy
the affected FE and BE Java packages. This restores the previous
dependency versions and their known vulnerabilities; no Doris metadata
migration is introduced.
### Testing
- Existing FE/BE suites via `run-fe-ut.sh`: 153 tests passed, zero
failures/errors/skips across `IcebergFormatV4ReadTest`,
`IcebergV4FileIOTest`, `IcebergPluginTest` and
`IcebergSerializationCompatTest`.
- Rebuilt the Java packages with `build.sh --fe` and the Maven build
cache disabled. Inspected the final FE connector ZIP, BE scanner
`target/lib`, FE Iceberg output and FE core output: only Parquet 1.18.2
and Snappy 1.1.10.12 direct copies; embedded Jackson Core/Databind are
2.22.4.
- Standalone smoke checks against each new Iceberg runtime closure
passed Snappy byte-array and direct-buffer round trips, rejection of
undersized direct output buffers, and a 100-row SNAPPY Parquet
write/read.
- Native Doris builds, live SQL regression and non-x86_64 runtimes were
not exercised. No third-party native build pins, prebuilt packages or
checksums changed.
### Release note
Upgrade the Java Parquet and Snappy dependencies to include upstream
Jackson and decompression security fixes.
### Check List (For Author)
- Behavior changed: No
- Does this need documentation: No
- Pre-submission status: Ready
### AI Disclosure
- Tool: Codex (GPT-6).
- Generated: dependency changes, verification probes and this
description.
- Human review: not stated.
- Prompts: Analyze the dependency review on #70869, then submit a
separate dependency-upgrade PR after #70869 merged.
---
fe/pom.xml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/fe/pom.xml b/fe/pom.xml
index 4652ead02ed..ed79999c836 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -252,8 +252,9 @@ under the License.
from instantiating classes outside
org.apache.avro.SERIALIZABLE_PACKAGES (AVRO-4189), which breaks Hudi's
commit metadata readers. Every avro API iceberg 1.12.0 references
exists in 1.12.1. -->
<avro.version>1.12.1</avro.version>
- <!-- Disable file-controlled KMS URLs by default (CVE-2026-73334). -->
- <parquet.version>1.18.1</parquet.version>
+ <!-- Keep the file-controlled KMS URL fix and patched embedded
Jackson; the Jackson BOM cannot
+ override the relocated classes inside parquet-jackson. -->
+ <parquet.version>1.18.2</parquet.version>
<spark.version>3.4.3</spark.version>
<hudi.version>1.0.2</hudi.version>
<obs.dependency.scope>compile</obs.dependency.scope>
@@ -335,7 +336,8 @@ under the License.
<protoc.artifact>com.google.protobuf:protoc:${protoc.artifact.version}</protoc.artifact>
<grpc.java.artifact>io.grpc:protoc-gen-grpc-java:${grpc-java.version}</grpc.java.artifact>
<protoparser.version>3.1.5</protoparser.version>
- <snappy-java.version>1.1.10.5</snappy-java.version>
+ <!-- This pin overrides Parquet's transitive version, so keep its
native buffer validation fixes. -->
+ <snappy-java.version>1.1.10.12</snappy-java.version>
<automaton.version>1.11-8</automaton.version>
<generex.version>1.0.1</generex.version>
<jetty-servlet.version>11.0.26</jetty-servlet.version>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]