You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ki...@apache.org on 2025/11/03 12:42:50 UTC

(doris) branch master updated: [chore](dep)Exclude AWS SDK bundle to reduce dependency size and include only required S3 modules (#57629)

This is an automated email from the ASF dual-hosted git repository.

kirs 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 022dce9d9bd [chore](dep)Exclude AWS SDK bundle to reduce dependency size and include only required S3 modules (#57629)
022dce9d9bd is described below

commit 022dce9d9bdbf3f8298e4b03780fa53481622935
Author: Calvin Kirs <gu...@selectdb.com>
AuthorDate: Mon Nov 3 20:42:43 2025 +0800

    [chore](dep)Exclude AWS SDK bundle to reduce dependency size and include only required S3 modules (#57629)
    
    …
    
    This PR excludes the aws-java-sdk-bundle from the hadoop-aws dependency
    to reduce the overall project size by including only the necessary S3
    SDK modules.
---
 fe/be-java-extensions/preload-extensions/pom.xml | 4 ++++
 fe/fe-core/pom.xml                               | 4 ++++
 fe/pom.xml                                       | 5 +++++
 3 files changed, 13 insertions(+)

diff --git a/fe/be-java-extensions/preload-extensions/pom.xml b/fe/be-java-extensions/preload-extensions/pom.xml
index e705edabde7..6bad625c0d5 100644
--- a/fe/be-java-extensions/preload-extensions/pom.xml
+++ b/fe/be-java-extensions/preload-extensions/pom.xml
@@ -158,6 +158,10 @@ under the License.
             <groupId>software.amazon.awssdk</groupId>
             <artifactId>s3tables</artifactId>
         </dependency>
+        <dependency>
+            <groupId>software.amazon.awssdk</groupId>
+            <artifactId>s3-transfer-manager</artifactId>
+        </dependency>
         <dependency>
             <groupId>software.amazon.s3tables</groupId>
             <artifactId>s3-tables-catalog-for-iceberg</artifactId>
diff --git a/fe/fe-core/pom.xml b/fe/fe-core/pom.xml
index d898bd4df10..836ca1f7431 100644
--- a/fe/fe-core/pom.xml
+++ b/fe/fe-core/pom.xml
@@ -634,6 +634,10 @@ under the License.
                 </exclusion>
             </exclusions>
         </dependency>
+        <dependency>
+            <groupId>software.amazon.awssdk</groupId>
+            <artifactId>s3-transfer-manager</artifactId>
+        </dependency>
         <dependency>
             <groupId>software.amazon.awssdk</groupId>
             <artifactId>sts</artifactId>
diff --git a/fe/pom.xml b/fe/pom.xml
index 7c0217a17c4..a4eb1fbc81c 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -1169,6 +1169,11 @@ under the License.
                 <artifactId>hadoop-aws</artifactId>
                 <version>${hadoop.version}</version>
                 <exclusions>
+                    <!-- NB: Exclude the AWS SDK bundle because it’s a large monolithic package, and we only need the S3 modules to reduce dependency size.-->
+                    <exclusion>
+                        <groupId>software.amazon.awssdk</groupId>
+                        <artifactId>bundle</artifactId>
+                    </exclusion>
                     <exclusion>
                         <groupId>org.slf4j</groupId>
                         <artifactId>slf4j-log4j12</artifactId>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org