This is an automated email from the ASF dual-hosted git repository.
jerryshao pushed a commit to branch branch-1.3
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-1.3 by this push:
new 221e1999df [Cherry-pick to branch-1.3] [#14725] chore(deps): Upgrade
Netty to 4.1.140.Final and XNIO API to 3.8.17.Final (#14726) (#14758)
221e1999df is described below
commit 221e1999df4f25ec1811f674cd5dc46c89af755c
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Nov 9 14:00:55 2026 +0800
[Cherry-pick to branch-1.3] [#14725] chore(deps): Upgrade Netty to
4.1.140.Final and XNIO API to 3.8.17.Final (#14726) (#14758)
**Cherry-pick Information:**
- Original commit: 54387507745ee30f1c60e045bf1fa90204f91e06
- Target branch: `branch-1.3`
- Status: ✅ Clean cherry-pick (no conflicts)
Co-authored-by: geyanggang <[email protected]>
---
catalogs/catalog-glue/build.gradle.kts | 16 ++++++++++++++++
dev/release/maven/README.md | 5 +++--
gradle/libs.versions.toml | 6 ++++++
iceberg/iceberg-common/build.gradle.kts | 4 ++++
server-common/build.gradle.kts | 4 ++++
5 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/catalogs/catalog-glue/build.gradle.kts
b/catalogs/catalog-glue/build.gradle.kts
index 1f9bc84b5c..e5d7d3cf3c 100644
--- a/catalogs/catalog-glue/build.gradle.kts
+++ b/catalogs/catalog-glue/build.gradle.kts
@@ -24,7 +24,23 @@ plugins {
id("idea")
}
+// Keeps the Netty artifacts brought in by the AWS SDK on the single version
of the catalog. The BOM sits in a
+// dedicated configuration so that it only applies to this module and is not
exported to the
+// modules that depend on it.
+val nettyBom: Configuration by configurations.creating {
+ isCanBeConsumed = false
+ isCanBeResolved = false
+}
+listOf(
+ "compileClasspath",
+ "runtimeClasspath",
+ "testCompileClasspath",
+ "testRuntimeClasspath"
+).forEach {
+ configurations.named(it) { extendsFrom(nettyBom) }
+}
dependencies {
+ nettyBom(platform(libs.netty.bom))
compileOnly(project(":api"))
compileOnly(project(":common"))
compileOnly(project(":core"))
diff --git a/dev/release/maven/README.md b/dev/release/maven/README.md
index 6a2739d5d7..63499a4293 100644
--- a/dev/release/maven/README.md
+++ b/dev/release/maven/README.md
@@ -94,9 +94,10 @@ inventory. A dependency's POM license declaration may omit
embedded third-party
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.
-- Netty 4.1.109/110/118:
[NOTICE](https://github.com/netty/netty/blob/netty-4.1.118.Final/NOTICE.txt)
+- Netty 4.1.109/110/118/140:
[NOTICE](https://github.com/netty/netty/blob/netty-4.1.118.Final/NOTICE.txt)
and [companion license
texts](https://github.com/netty/netty/tree/netty-4.1.118.Final/license).
- The selected companions match across these versions. They cover embedded
+ The NOTICE and companion texts are identical in 4.1.118 and 4.1.140
(compared file by file),
+ and the selected companions match across these versions. They cover embedded
SLF4J/Harmony/JCTools in common, Webbit and Hoehrmann UTF-8 validation in
HTTP,
Bzip2/FastLZ/libdivsufsort/Protobuf in codec, HPACK implementations in
HTTP/2,
and Apple's dnsinfo header in the macOS native resolver.
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 5048fc13ac..69b0677926 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -137,6 +137,10 @@ publish-plugin = '1.2.0'
rat-plugin = '0.8.0'
shadow-plugin = "8.1.1"
kerby = "2.0.3"
+# Transitive of kerb-admin; raised above the 3.8.8.Final that kerb-admin
brings in.
+xnio = "3.8.17.Final"
+# Netty is a transitive dependency of the AWS SDK (Glue catalog); the BOM
keeps all modules on one patch.
+netty = "4.1.140.Final"
node-plugin = "7.0.1"
commons-cli = "1.2"
commons-cli-new = "1.9.0"
@@ -190,6 +194,8 @@ jackson-jaxrs-json-provider = { group =
"com.fasterxml.jackson.jaxrs", name = "j
guava = { group = "com.google.guava", name = "guava", version.ref = "guava" }
gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" }
kerby-core = { group = "org.apache.kerby", name = "kerb-core", version.ref =
"kerby"}
+netty-bom = { group = "io.netty", name = "netty-bom", version.ref = "netty" }
+xnio-api = { group = "org.jboss.xnio", name = "xnio-api", version.ref = "xnio"
}
kerby-simplekdc = { group = "org.apache.kerby", name = "kerb-simplekdc",
version.ref = "kerby"}
lombok = { group = "org.projectlombok", name = "lombok", version.ref =
"lombok" }
junit-jupiter-api = { group = "org.junit.jupiter", name = "junit-jupiter-api",
version.ref = "junit" }
diff --git a/iceberg/iceberg-common/build.gradle.kts
b/iceberg/iceberg-common/build.gradle.kts
index 296db0d8e9..1a051e547e 100644
--- a/iceberg/iceberg-common/build.gradle.kts
+++ b/iceberg/iceberg-common/build.gradle.kts
@@ -29,6 +29,10 @@ dependencies {
constraints {
implementation(libs.thrift)
}
+ // Raise the xnio-api pulled in by kerb-admin (3.8.8.Final) to the version
in the catalog.
+ constraints {
+ implementation(libs.xnio.api)
+ }
implementation(project(":api"))
implementation(project(":catalogs:catalog-common"))
diff --git a/server-common/build.gradle.kts b/server-common/build.gradle.kts
index aa48f71060..25876f3c0c 100644
--- a/server-common/build.gradle.kts
+++ b/server-common/build.gradle.kts
@@ -25,6 +25,10 @@ plugins {
}
dependencies {
+ // Raise the xnio-api pulled in by kerb-admin (3.8.8.Final) to the version
in the catalog.
+ constraints {
+ implementation(libs.xnio.api)
+ }
implementation(project(":api"))
implementation(project(":catalogs:catalog-common"))
implementation(project(":common")) {