You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2021/01/08 17:10:01 UTC

[jira] [Resolved] (HADOOP-14391) s3a: auto-detect region for bucket and use right endpoint

     [ https://issues.apache.org/jira/browse/HADOOP-14391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran resolved HADOOP-14391.
-------------------------------------
    Resolution: Cannot Reproduce

Latest AWS SDK works this out if you don't set the endpoint. 

it adds the overhead of an extra HEAD / call -that is issued with v4 signature, if that is rejected from s3 central, the 400 error code includes the actual region of the bucket.

> s3a: auto-detect region for bucket and use right endpoint
> ---------------------------------------------------------
>
>                 Key: HADOOP-14391
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14391
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Aaron Fabbri
>            Assignee: Aaron Fabbri
>            Priority: Major
>
> Specifying the S3A endpoint ({{fs.s3a.endpoint}}) is
> - *required* for regions which only support v4 authentication
> - A good practice for all regions.
> The user experience of having to configure endpoints is not great.  Often it is neglected and leads to additional cost, reduced performance, or failures for v4 auth regions.
> I want to explore an option which, when enabled, auto-detects the region for an s3 bucket and uses the proper endpoint.  Not sure if this is possible or anyone has looked into it yet.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org