Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for S3 Region #11627

Closed
majetideepak opened this issue Nov 22, 2024 · 0 comments
Closed

Add support for S3 Region #11627

majetideepak opened this issue Nov 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@majetideepak
Copy link
Collaborator

majetideepak commented Nov 22, 2024

Description

We will follow the Hadoop aws library rules to be consistent with other applications. These rules seem reasonable.
https://hadoop.apache.org/docs/current/hadoop-aws/tools/hadoop-aws/connecting.html#s3_endpoint_region_details

  1. Configs hive.s3.endpoint and hive.s3.endpoint.region are used to set values for S3 endpoint and region respectively.
  2. If hive.s3.endpoint.region is configured with valid AWS region value, S3FS will use this value.
  3. If hive.s3.endpoint.region is not set and hive.s3.endpoint is set with valid endpoint value, S3FS will attempt to parse the region from the endpoint and configure the client to use the region value.
  4. If both hive.s3.endpoint and hive.s3.endpoint.region are not set, S3FS will use us-east-2 as default region and enable cross-region access. In this case, S3FS does not attempt to override the endpoint while configuring the S3 client.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant