Ahmar Suhail created HADOOP-19513:
-------------------------------------
Summary: S3A: ITestS3AEndpointRegion fails when using with access
points
Key: HADOOP-19513
URL: https://issues.apache.org/jira/browse/HADOOP-19513
Project: Hadoop Common
Issue Type: Bug
Reporter: Ahmar Suhail
failures are of the form:
software.amazon.awssdk.core.exception.SdkClientException: Invalid
configuration: region from ARN `us-east-1` does not match client region
`us-east-2` and UseArnRegion is `false`
at
software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:111)
happens because when making the head request in the tests, we do
HeadBucketRequest.builder().bucket(getFileSystem().getBucket()).build();
when using access points, bucket is
"arn:aws:s3:us-east-1:xxxx:accesspoint/test-bucket", so client gets the region
from the ARN which does not match the configured region.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]