From 38db70d1052f0f9d1b1a2e28d5b88ebbd728b5c6 Mon Sep 17 00:00:00 2001 From: Purushottam Sinha Date: Wed, 9 Sep 2026 13:03:18 +0530 Subject: [PATCH] [FLINK-40576][fs] Exclude transitive alluxio dependency from flink-s3-fs-presto flink-s3-fs-presto pulls in org.alluxio:alluxio-shaded-client transitively via presto-hive. It is only used by Presto's caching filesystem, which the S3 file system does not use. The shaded client is an outdated uber-jar that unnecessarily bloats the bundled plugin, so exclude it and drop it from the bundled NOTICE. Generated-by: Claude Code (claude-opus-4-8) --- flink-filesystems/flink-s3-fs-presto/pom.xml | 8 ++++++++ .../flink-s3-fs-presto/src/main/resources/META-INF/NOTICE | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/flink-filesystems/flink-s3-fs-presto/pom.xml b/flink-filesystems/flink-s3-fs-presto/pom.xml index cb3236ce1a67c..a191b446b82c1 100644 --- a/flink-filesystems/flink-s3-fs-presto/pom.xml +++ b/flink-filesystems/flink-s3-fs-presto/pom.xml @@ -182,6 +182,14 @@ under the License. presto-memory-context + + + org.alluxio + alluxio-shaded-client + + io.airlift diff --git a/flink-filesystems/flink-s3-fs-presto/src/main/resources/META-INF/NOTICE b/flink-filesystems/flink-s3-fs-presto/src/main/resources/META-INF/NOTICE index 111f291a6996b..d6cf973d5efb6 100644 --- a/flink-filesystems/flink-s3-fs-presto/src/main/resources/META-INF/NOTICE +++ b/flink-filesystems/flink-s3-fs-presto/src/main/resources/META-INF/NOTICE @@ -39,7 +39,6 @@ This project bundles the following dependencies under the Apache Software Licens - io.airlift:slice:0.38 - io.airlift:units:1.3 - joda-time:joda-time:2.5 -- org.alluxio:alluxio-shaded-client:2.8.1 - org.apache.commons:commons-compress:1.26.0 - org.apache.commons:commons-configuration2:2.1.1 - org.apache.commons:commons-lang3:3.18.0