World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#11604] fix(bundle): Include Gravitino credential providers in Iceberg cloud bundles (#11616)
Yuhui51765bca89dc
diff --git a/bundles/iceberg-aliyun-bundle/build.gradle.kts b/bundles/iceberg-aliyun-bundle/build.gradle.ktsindex 0492861ad2..829bf18bc0 100644--- a/bundles/iceberg-aliyun-bundle/build.gradle.kts+++ b/bundles/iceberg-aliyun-bundle/build.gradle.kts@@ -30,6 +30,8 @@ dependencies {// Aliyun oss SDK depends on this package, and JDK >= 9 requires manual add// https://www.alibabacloud.com/help/en/oss/developer-reference/java-installation?spm=a2c63.p38356.0.i1implementation(libs.sun.activation)+ // Include Gravitino Aliyun credential providers (OSSSecretKeyProvider, etc.) for credential vending+ implementation(project(":bundles:aliyun"))}tasks.withType(ShadowJar::class.java) {@@ -39,6 +41,11 @@ tasks.withType(ShadowJar::class.java) {dependencies {exclude(dependency("org.slf4j:slf4j-api"))+ // Exclude Gravitino modules to prevent class duplication with server classpath+ exclude(project(":api"))+ exclude(project(":common"))+ exclude(project(":catalogs:catalog-common"))+ exclude(project(":catalogs:hadoop-common"))}mergeServiceFiles()diff --git a/bundles/iceberg-aws-bundle/build.gradle.kts b/bundles/iceberg-aws-bundle/build.gradle.ktsindex 10074b96e7..4eaf9c536c 100644--- a/bundles/iceberg-aws-bundle/build.gradle.kts+++ b/bundles/iceberg-aws-bundle/build.gradle.kts@@ -30,6 +30,8 @@ dependencies {exclude("*")}implementation(libs.iceberg.aws.bundle)+ // Include Gravitino AWS credential providers (S3SecretKeyProvider, etc.) for credential vending+ implementation(project(":bundles:aws"))}tasks.withType(ShadowJar::class.java) {@@ -39,6 +41,11 @@ tasks.withType(ShadowJar::class.java) {dependencies {exclude(dependency("org.slf4j:slf4j-api"))+ // Exclude Gravitino modules to prevent class duplication with server classpath+ exclude(project(":api"))+ exclude(project(":common"))+ exclude(project(":catalogs:catalog-common"))+ exclude(project(":catalogs:hadoop-common"))}// Iceberg AWS bundle includes Log4j (before 1.10.1), so exclude to avoid conflictsdiff --git a/bundles/iceberg-azure-bundle/build.gradle.kts b/bundles/iceberg-azure-bundle/build.gradle.ktsindex 26092c1a45..ea44cb35d1 100644--- a/bundles/iceberg-azure-bundle/build.gradle.kts+++ b/bundles/iceberg-azure-bundle/build.gradle.kts@@ -30,9 +30,9 @@ configurations.shadow {}dependencies {- // The iceberg-azure-bundle already includes the dependencies- // required by Gravitino for credential vending.implementation(libs.iceberg.azure.bundle)+ // Include Gravitino Azure credential providers (AzureAccountKeyProvider, etc.) for credential vending+ implementation(project(":bundles:azure"))}tasks.withType(ShadowJar::class.java) {@@ -42,6 +42,11 @@ tasks.withType(ShadowJar::class.java) {dependencies {exclude(dependency("org.slf4j:slf4j-api"))+ // Exclude Gravitino modules to prevent class duplication with server classpath+ exclude(project(":api"))+ exclude(project(":common"))+ exclude(project(":catalogs:catalog-common"))+ exclude(project(":catalogs:hadoop-common"))}mergeServiceFiles()