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 19:48:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Ahmar Suhail updated HADOOP-19513:
----------------------------------
        Parent: HADOOP-19353
    Issue Type: Sub-task  (was: Bug)

> 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
>            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