-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-19286: S3A: Support cross region access when S3 region/endpoint is set #7093
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
HADOOP-19286: S3A: Support cross region access when S3 region/endpoint is set #7093
Conversation
|
@steveloughran - branch-3.4 backport |
steveloughran
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 pending a successful Yetus build.
|
🎊 +1 overall
This message was automatically generated. |
|
Just noticed I got the commit message wrong on the trunk PR; I was trying to summarise it missed out the fs. In front of the property. I could revert and we could put a better message in if you like? |
steveloughran
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not merging; reopened trunk jira as the tests fail for me. once a followup patch is merged in, a branch-3.4 pr can be done with both changes in
|
@steveloughran - Created follow up PR: #7098 |
|
just merge the addendum in here for a single backport patch. |
481d97b to
c398350
Compare
|
@steveloughran - Raised a single commit for both the changes. |
|
🎊 +1 overall
This message was automatically generated. |
|
where did you test this? |
Tested this in us-east-1 |
|
done. I'm not going to put into 3.4.1 as I'm only putting critical fixes or things which need to go in their first. Then we can start to focus on 3.4.2 |
Currently when S3 region nor endpoint is set, the default region is set to us-east-2 with cross region access enabled. But when region or endpoint is set, cross region access is not enabled.
The proposal here is to carves out cross region access as a separate config and enable/disable it irrespective of region/endpoint is set. This gives more flexibility to the user.
S3 cross region access can be enabled/disabled via config fs.s3a.cross.region.access.enabled which is set to true by default.
Tested with us-east-1