This is an automated email from the ASF dual-hosted git repository.
jerryshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new a476471943 [#14943] improvement(deps): Update snappy-java to 1.1.10.12
(#14944)
a476471943 is described below
commit a47647194362994239158ff411237ec170786b1b
Author: geyanggang <[email protected]>
AuthorDate: Fri Nov 13 11:30:19 2026 +0800
[#14943] improvement(deps): Update snappy-java to 1.1.10.12 (#14944)
### What changes were proposed in this pull request?
- Update `snappy-java` from 1.1.10.8 to 1.1.10.12 in
`gradle/libs.versions.toml`. The root `build.gradle.kts` and the
hive-metastore2/3 libs already read this single version, so every module
picks it up.
- Update the version and NOTICE link in `dev/release/maven/README.md`.
### Why are the changes needed?
Keep snappy-java on the latest patch release. The 1.1.10.9 to 1.1.10.12
releases fix buffer handling and unbounded allocation on malformed
input, and restore Hadoop block-format compatibility. The NOTICE file
and the bundled native Snappy (1.1.10) and Bitshuffle (0.3.4) versions
are identical to 1.1.10.8, so `dev/release/maven/dependencies.txt` needs
no change.
Fix: #14943
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
- `dependencyInsight` shows snappy-java resolved to 1.1.10.12 in
hive-metastore2-libs, hive-metastore3-libs, catalog-kafka,
catalog-lakehouse-iceberg, catalog-lakehouse-paimon and
iceberg-rest-server.
- Unit tests pass with `-PskipITs` in catalog-lakehouse-iceberg (155),
catalog-lakehouse-paimon (80), catalog-kafka (23), catalog-hive (102)
and iceberg-rest-server (716).
- A standalone round trip with the 1.1.10.12 jar on macOS aarch64 passes
for raw, stream and framed formats, and malformed input is rejected.
- `./gradlew spotlessCheck` passes.
---
dev/release/maven/README.md | 2 +-
gradle/libs.versions.toml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev/release/maven/README.md b/dev/release/maven/README.md
index 99d80ac009..b97b19d32c 100644
--- a/dev/release/maven/README.md
+++ b/dev/release/maven/README.md
@@ -93,7 +93,7 @@ inventory. A dependency's POM license declaration may omit
embedded third-party
- JaCoCo runtime 0.8.8: its binary `about.html` identifies EPL-2.0 and the
embedded ASM 9.2 BSD code; retain that file (which already contains the ASM
BSD
text) and supplement only the missing full EPL-2.0 text.
-- Snappy Java 1.1.10.8:
[NOTICE](https://github.com/xerial/snappy-java/blob/v1.1.10.8/NOTICE).
+- Snappy Java 1.1.10.12:
[NOTICE](https://github.com/xerial/snappy-java/blob/v1.1.10.12/NOTICE).
Its native libraries include [Snappy
1.1.10](https://github.com/google/snappy/blob/1.1.10/COPYING)
and [Bitshuffle
0.3.4](https://github.com/kiyo-masui/bitshuffle/blob/0.3.4/LICENSE),
as recorded by the tagged Makefile and VERSION file.
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index cbecb219d6..64e7d0c247 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -113,7 +113,7 @@ metrics = "4.2.25"
prometheus = "0.16.0"
clickhouse = "0.7.1"
lz4 = "1.8.0"
-snappy-java = "1.1.10.8"
+snappy-java = "1.1.10.12"
mysql = "8.0.33"
postgresql = "42.7.14"
immutables-value = "2.11.7"