You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ahmar Suhail (Jira)" <ji...@apache.org> on 2025/03/24 20:09:00 UTC
[jira] [Commented] (HADOOP-19513) S3A: ITestS3AEndpointRegion fails when using with access points
[ https://issues.apache.org/jira/browse/HADOOP-19513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17937998#comment-17937998 ]
Ahmar Suhail commented on HADOOP-19513:
---------------------------------------
a lot of these tests fail for an S3 Express bucket too
> 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: Sub-task
> Components: fs/s3
> Affects Versions: 3.5.0, 3.4.2
> Reporter: Ahmar Suhail
> Priority: Major
>
> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org