Skip to content

[Feat][hive-s3]support specify the s3 region #25929

@litiliu

Description

@litiliu

We need to specify the region in the com.facebook.presto.hive.s3.PrestoS3FileSystem#createAmazonS3Client instead of pinS3ClientToCurrentRegion.

Expected Behavior or Use Case

user specify the region via the key presto.s3.region, then a s3 client with the specified region can be built.

Presto Component, Service, or Connector

presto-hive, s3

Possible Implementation

add a property named presto.s3.region, then build the s3 client use this region when this property is not blank.

Example Screenshots (if appropriate):

Image

Context

we are using this in an isolate AWS region. Specify the region is required.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions