Skip to content

[fs] Replace AWS SDK v2 bundle with explicit module dependencies#7285

Merged
JingsongLi merged 1 commit intoapache:masterfrom
plusplusjiajia:aws-bundle
Feb 13, 2026
Merged

[fs] Replace AWS SDK v2 bundle with explicit module dependencies#7285
JingsongLi merged 1 commit intoapache:masterfrom
plusplusjiajia:aws-bundle

Conversation

@plusplusjiajia
Copy link
Member

Purpose

This PR significantly reduces the size of paimon-s3 jar file by:

  1. Excluding the AWS SDK v2 Bundle (which contains 400+ AWS services) from the hadoop-aws dependency

  2. Explicitly including only the 12 necessary AWS SDK v2 modules required for S3 functionality:

    • apache-client
    • auth
    • crt-core
    • http-auth-aws-crt
    • iam
    • sso
    • s3
    • kms
    • glue
    • sts
    • dynamodb
    • lakeformation

Result:

  • paimon-s3.jar: 670MB → 91MB

Tests

Existing Integration Tests:

  • SparkS3ITCase

  • HiveCatalogITCaseBase

@JingsongLi
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit 89c94d9 into apache:master Feb 13, 2026
13 of 39 checks passed
jerry-024 added a commit to jerry-024/paimon that referenced this pull request Feb 14, 2026
* upstream/master:
  [test] Remove the S3 dependency from paimon-hive and paimon-spark (apache#7279)
  [python] Introduce Iceberg Table in Rest Catalog (apache#7280)
  [fs] Replace AWS SDK v2 bundle with explicit module dependencies (apache#7285)
  [docs] fix doc: fileformat.md (apache#7278)
  [python] Improve error response parsing in HTTP client (apache#7276)
  [core] Optimize between in Between
  [spark] supports converting some SparkPredicate to Paimon between LeafPredicate (apache#7265)
  [spark] Introduce TrimTransform for trim/ltrim/rtrim functions to pushdown (apache#7273)
  [python] Fix row_id_range method invoking
  [core] Fix performance issue in FileStoreCommitImpl#filterCommitted (apache#7275)
  [python] Fix pyarrow module missing attribute (apache#7258)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants