[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to