[ 
https://issues.apache.org/jira/browse/HADOOP-18696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17711521#comment-17711521
 ] 

Steve Loughran commented on HADOOP-18696:
-----------------------------------------

and storediag list of properties with eu-west in them

{code}
[009]  fs.s3a.endpoint = "s3.eu-west-2.amazonaws.com" 
[fs.s3a.bucket.stevel-london.endpoint via [core-site.xml]]
[010]  fs.s3a.endpoint.region = "eu-west-2" 
[fs.s3a.bucket.stevel-london.endpoint.region via [core-site.xml]]
[073]  fs.s3a.assumed.role.sts.endpoint = "sts.eu-west-2.amazonaws.com" 
[core-site.xml]
[074]  fs.s3a.assumed.role.sts.endpoint.region = "eu-west-2" [core-site.xml]
[087]  fs.s3a.s3guard.ddb.region = "eu-west-2" 
[fs.s3a.bucket.stevel-london.s3guard.ddb.region via [core-site.xml]]

{code}

aws config says us-west 2 (don't remember why)

{code}
[default]
#region = eu-west-2
region = us-west-2
output = text

{code}


> S3A ITestS3ABucketExistence access point test failure
> -----------------------------------------------------
>
>                 Key: HADOOP-18696
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18696
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.4.0
>            Reporter: Steve Loughran
>            Priority: Major
>
> this is inevitably me having some config option in the way; just need to find 
> out what and clear it for the test case so the probes are to the same 
> region/endpont as the mock bucket
> {code}
> [ERROR] 
> testAccessPointProbingV2(org.apache.hadoop.fs.s3a.ITestS3ABucketExistence)  
> Time elapsed: 1.748 s  <<< ERROR!
> java.lang.IllegalArgumentException: The region field of the ARN being passed 
> as a bucket parameter to an S3 operation does not match the region the client 
> was configured with. Provided region: 'eu-west-1'; client region: 'eu-west-2'.
>         at 
> com.amazonaws.services.s3.AmazonS3Client.validateIsTrue(AmazonS3Client.java:6588)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to