jmahonin commented on PR #4753:
URL: https://github.com/apache/hadoop/pull/4753#issuecomment-1225922219
Specifying `us-west-2` for both landsat-pds and usgs-landsat allowed my
tests to pass with my the various region settings in `auth-keys.xml` set to
`us-east-1`.
There is an issue with
`ITestS3ABucketExistence#testAccessPointProbingV2,testAccessPointRequired` with
another region enabled.
```
[ERROR]
testAccessPointProbingV2(org.apache.hadoop.fs.s3a.ITestS3ABucketExistence)
Time elapsed: 10.476 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: 'us-east-1'.
at
org.apache.hadoop.fs.s3a.ITestS3ABucketExistence.lambda$testAccessPointProbingV2$12(ITestS3ABucketExistence.java:172)
at
org.apache.hadoop.fs.s3a.ITestS3ABucketExistence.expectUnknownStore(ITestS3ABucketExistence.java:103)
at
org.apache.hadoop.fs.s3a.ITestS3ABucketExistence.testAccessPointProbingV2(ITestS3ABucketExistence.java:171)
[ERROR]
testAccessPointRequired(org.apache.hadoop.fs.s3a.ITestS3ABucketExistence) Time
elapsed: 0.889 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: 'us-east-1'.
at
org.apache.hadoop.fs.s3a.ITestS3ABucketExistence.lambda$testAccessPointRequired$14(ITestS3ABucketExistence.java:189)
at
org.apache.hadoop.fs.s3a.ITestS3ABucketExistence.expectUnknownStore(ITestS3ABucketExistence.java:103)
at
org.apache.hadoop.fs.s3a.ITestS3ABucketExistence.testAccessPointRequired(ITestS3ABucketExistence.java:188)
```
Commenting out my region settings allows these tests to pass, however.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]