-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-19146 noaa-cors-pds bucket access with global endpoint fails #6723
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
Conversation
|
Tested with scale profile, with and without global endpoint (us-west-2) setting |
|
🎊 +1 overall
This message was automatically generated. |
|
@steveloughran @mukund-thakur nothing urgent, could you please review this PR as per your convenience? |
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.
This is not going to work on any test set up where the external file is being served by some third party store (GCS, dell,...)
we skip tests where this doesn't hold with S3ATestUtils.requireDefaultExternalDataFile()
I think we're going to need a predicate isUsingDefaultExternalDataFile(Conf) and only remove the configuration if this is true
|
🎊 +1 overall
This message was automatically generated. |
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.
one minor change
| if (isUsingDefaultExternalDataFile(conf)) { | ||
| S3ATestUtils.removeBaseAndBucketOverrides( | ||
| conf, | ||
| PREFETCH_ENABLED_KEY, |
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.
prefetch key must always be removed
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.
trivial oversight from my side, fixed it
|
Re-ran the whole suite with |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
@steveloughran does the latest revision look good? |
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.
LGTM
+1
…int fails (#6723) HADOOP-19057 switched the hadoop-aws test bucket from landsat-pds to noaa-cors-pds This new bucket isn't accessible if the client configuration sets an fs.s3a.endpoint/region value other than us-east-1. Contributed by Viraj Jasani
|
merged to trunk and 3.4; doesn't go in to 3.3.x and I'm not sure whether its worth the effort |
…int fails (apache#6723) HADOOP-19057 switched the hadoop-aws test bucket from landsat-pds to noaa-cors-pds This new bucket isn't accessible if the client configuration sets an fs.s3a.endpoint/region value other than us-east-1. Contributed by Viraj Jasani
…int fails (apache#6723) HADOOP-19057 switched the hadoop-aws test bucket from landsat-pds to noaa-cors-pds This new bucket isn't accessible if the client configuration sets an fs.s3a.endpoint/region value other than us-east-1. Contributed by Viraj Jasani
Jira: HADOOP-19146