Skip to content

AWS: DefaultAwsClientFactory s3 / s3Async serviceConfiguration are not equivalent #14575

@devinrsmith

Description

@devinrsmith

Apache Iceberg version

1.10.0 (latest release)

Query engine

None

Please describe the bug 🐞

The "service configuration" applied to the S3Client is not applied to the S3AsyncClient in org.apache.iceberg.aws.AwsClientFactories.DefaultAwsClientFactory. This was noticed because s3.path-style-access does not seem to work for the S3AsyncClient.

The configurable bits from org.apache.iceberg.aws.s3.S3FileIOProperties#applyServiceConfigurations includes dualstackEnabled, crossRegionAccessEnabled, pathStyleAccessEnabled, useArnRegionEnabled, and accelerateModeEnabled, all which seem to be applicable for S3AsyncClientBuilder (and at least some, applicable to S3CrtAsyncClientBuilder, but did not dig deeper into that side of things).

Similar to #13131

Willingness to contribute

  • I can contribute a fix for this bug independently
  • I would be willing to contribute a fix for this bug with guidance from the Iceberg community
  • I cannot contribute a fix for this bug at this time

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions