[jira] [Commented] (HADOOP-18696) S3A ITestS3ABucketExistence access point test failure

2023-04-17 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on HADOOP-18696:
-

steveloughran merged PR #5557:
URL: https://github.com/apache/hadoop/pull/5557




> 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
>  Labels: pull-request-available
>
> 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



[jira] [Commented] (HADOOP-18696) S3A ITestS3ABucketExistence access point test failure

2023-04-17 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on HADOOP-18696:
-

steveloughran commented on code in PR #5557:
URL: https://github.com/apache/hadoop/pull/5557#discussion_r1168410522


##
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3ABucketExistence.java:
##
@@ -189,6 +190,17 @@ public void testAccessPointRequired() throws Exception {
 () -> FileSystem.get(uri, configuration));
   }
 
+  /**
+   * Create a configuration which has bucket probe 2 and the endpoint.region
+   * option set to "eu-west-1" to match that of the ARNs generated.
+   * @return a configuration for tests which are expected to fail in specific 
ways.
+   */
+  private Configuration createArnConfiguration() {
+Configuration configuration = createConfigurationWithProbe(2);
+configuration.set(AWS_REGION, "eu-west-1");
+return configuration;
+  }

Review Comment:
   noted





> 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
>  Labels: pull-request-available
>
> 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



[jira] [Commented] (HADOOP-18696) S3A ITestS3ABucketExistence access point test failure

2023-04-15 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on HADOOP-18696:
-

ayushtkn commented on code in PR #5557:
URL: https://github.com/apache/hadoop/pull/5557#discussion_r1167579529


##
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3ABucketExistence.java:
##
@@ -189,6 +190,17 @@ public void testAccessPointRequired() throws Exception {
 () -> FileSystem.get(uri, configuration));
   }
 
+  /**
+   * Create a configuration which has bucket probe 2 and the endpoint.region
+   * option set to "eu-west-1" to match that of the ARNs generated.
+   * @return a configuration for tests which are expected to fail in specific 
ways.
+   */
+  private Configuration createArnConfiguration() {
+Configuration configuration = createConfigurationWithProbe(2);
+configuration.set(AWS_REGION, "eu-west-1");
+return configuration;
+  }

Review Comment:
   This util ain't very generic, could have taken ``region`` as argument and 
changed the method name to be like ``create*WithRegion(String region)``, so 
could have used it for different purpose in future as well. 
   
   Juzz my random thoughts, no need to change :)





> 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
>  Labels: pull-request-available
>
> 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



[jira] [Commented] (HADOOP-18696) S3A ITestS3ABucketExistence access point test failure

2023-04-14 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on HADOOP-18696:
-

hadoop-yetus commented on PR #5557:
URL: https://github.com/apache/hadoop/pull/5557#issuecomment-1508766686

   :confetti_ball: **+1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime |  Logfile | Comment |
   |::|--:|:|::|:---:|
   | +0 :ok: |  reexec  |   0m 47s |  |  Docker mode activated.  |
    _ Prechecks _ |
   | +1 :green_heart: |  dupname  |   0m  0s |  |  No case conflicting files 
found.  |
   | +0 :ok: |  codespell  |   0m  1s |  |  codespell was not available.  |
   | +0 :ok: |  detsecrets  |   0m  1s |  |  detect-secrets was not available.  
|
   | +1 :green_heart: |  @author  |   0m  0s |  |  The patch does not contain 
any @author tags.  |
   | +1 :green_heart: |  test4tests  |   0m  0s |  |  The patch appears to 
include 1 new or modified test files.  |
    _ trunk Compile Tests _ |
   | +1 :green_heart: |  mvninstall  |  44m 11s |  |  trunk passed  |
   | +1 :green_heart: |  compile  |   0m 42s |  |  trunk passed with JDK 
Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1  |
   | +1 :green_heart: |  compile  |   0m 33s |  |  trunk passed with JDK 
Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09  |
   | +1 :green_heart: |  checkstyle  |   0m 31s |  |  trunk passed  |
   | +1 :green_heart: |  mvnsite  |   0m 40s |  |  trunk passed  |
   | +1 :green_heart: |  javadoc  |   0m 27s |  |  trunk passed with JDK 
Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1  |
   | +1 :green_heart: |  javadoc  |   0m 29s |  |  trunk passed with JDK 
Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09  |
   | +1 :green_heart: |  spotbugs  |   1m 15s |  |  trunk passed  |
   | +1 :green_heart: |  shadedclient  |  23m 14s |  |  branch has no errors 
when building and testing our client artifacts.  |
    _ Patch Compile Tests _ |
   | +1 :green_heart: |  mvninstall  |   0m 30s |  |  the patch passed  |
   | +1 :green_heart: |  compile  |   0m 34s |  |  the patch passed with JDK 
Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1  |
   | +1 :green_heart: |  javac  |   0m 34s |  |  the patch passed  |
   | +1 :green_heart: |  compile  |   0m 27s |  |  the patch passed with JDK 
Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09  |
   | +1 :green_heart: |  javac  |   0m 27s |  |  the patch passed  |
   | +1 :green_heart: |  blanks  |   0m  0s |  |  The patch has no blanks 
issues.  |
   | +1 :green_heart: |  checkstyle  |   0m 18s |  |  the patch passed  |
   | +1 :green_heart: |  mvnsite  |   0m 33s |  |  the patch passed  |
   | +1 :green_heart: |  javadoc  |   0m 14s |  |  the patch passed with JDK 
Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1  |
   | +1 :green_heart: |  javadoc  |   0m 22s |  |  the patch passed with JDK 
Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09  |
   | +1 :green_heart: |  spotbugs  |   1m  8s |  |  the patch passed  |
   | +1 :green_heart: |  shadedclient  |  23m 26s |  |  patch has no errors 
when building and testing our client artifacts.  |
    _ Other Tests _ |
   | +1 :green_heart: |  unit  |   2m 22s |  |  hadoop-aws in the patch passed. 
 |
   | +1 :green_heart: |  asflicense  |   0m 34s |  |  The patch does not 
generate ASF License warnings.  |
   |  |   | 104m 52s |  |  |
   
   
   | Subsystem | Report/Notes |
   |--:|:-|
   | Docker | ClientAPI=1.42 ServerAPI=1.42 base: 
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5557/1/artifact/out/Dockerfile
 |
   | GITHUB PR | https://github.com/apache/hadoop/pull/5557 |
   | Optional Tests | dupname asflicense compile javac javadoc mvninstall 
mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
   | uname | Linux 7081f03a82b4 4.15.0-206-generic #217-Ubuntu SMP Fri Feb 3 
19:10:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | dev-support/bin/hadoop.sh |
   | git revision | trunk / d091c55c4477cac803d2673de9616077417e93c3 |
   | Default Java | Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09 |
   | Multi-JDK versions | 
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1
 /usr/lib/jvm/java-8-openjdk-amd64:Private 
Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09 |
   |  Test Results | 
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5557/1/testReport/ |
   | Max. process+thread count | 612 (vs. ulimit of 5500) |
   | modules | C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws |
   | Console output | 
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5557/1/console |
   | versions | git=2.25.1 maven=3.6.3 spotbugs=4.2.2 |
   | Powered by | Apache Yetus 0.14.0 https://yetus.apache.org |
   
   
   This message was automatically generated.
   
   




> S3A ITestS3ABucketE

[jira] [Commented] (HADOOP-18696) S3A ITestS3ABucketExistence access point test failure

2023-04-14 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on HADOOP-18696:
-

steveloughran commented on PR #5557:
URL: https://github.com/apache/hadoop/pull/5557#issuecomment-1508505324

   ```
   [INFO] ---
   [INFO] Running org.apache.hadoop.fs.s3a.ITestS3ABucketExistence
   [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.066 
s - in org.apache.hadoop.fs.s3a.ITestS3ABucketExistence
   [INFO] 
   [INFO] Results:
   [INFO] 
   [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0
   [INFO] 
   ```
   




> 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
>  Labels: pull-request-available
>
> 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



[jira] [Commented] (HADOOP-18696) S3A ITestS3ABucketExistence access point test failure

2023-04-14 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on HADOOP-18696:
-

steveloughran opened a new pull request, #5557:
URL: https://github.com/apache/hadoop/pull/5557

   Explicitly sets the fs.s3a.endpoint.region to eu-west-1 so the 
arn-referenced fs creation fails with unknown store rather than 
IllegalArgumentException.
   
   ### How was this patch tested?
   
   running the test with fs.s3a.endpoint.region set to eu-west-2
   
   ### For code changes:
   
   - [ ] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   




> 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



[jira] [Commented] (HADOOP-18696) S3A ITestS3ABucketExistence access point test failure

2023-04-12 Thread Steve Loughran (Jira)


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

Steve Loughran commented on HADOOP-18696:
-

oh, i understand this. the test config is created from the working fs

{code}
Configuration conf = new Configuration(getFileSystem().getConf());

{code}
which has its per-bucket settings updated.
need to do either of
* point at us-east-1 with appropriate region
* point at eu-west-1 with appropriate region

option #2 seems better.

thoughts?

> 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



[jira] [Commented] (HADOOP-18696) S3A ITestS3ABucketExistence access point test failure

2023-04-12 Thread Steve Loughran (Jira)


[ 
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



[jira] [Commented] (HADOOP-18696) S3A ITestS3ABucketExistence access point test failure

2023-04-12 Thread Steve Loughran (Jira)


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

Steve Loughran commented on HADOOP-18696:
-

full stack

{code}
[ERROR] Tests run: 6, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 7.299 s 
<<< FAILURE! - in org.apache.hadoop.fs.s3a.ITestS3ABucketExistence
[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)
at 
com.amazonaws.services.s3.AmazonS3Client.validateS3ResourceArn(AmazonS3Client.java:5158)
at 
com.amazonaws.services.s3.AmazonS3Client.createRequest(AmazonS3Client.java:4959)
at 
com.amazonaws.services.s3.AmazonS3Client.createRequest(AmazonS3Client.java:4923)
at 
com.amazonaws.services.s3.AmazonS3Client.getAcl(AmazonS3Client.java:4043)
at 
com.amazonaws.services.s3.AmazonS3Client.getBucketAcl(AmazonS3Client.java:1278)
at 
com.amazonaws.services.s3.AmazonS3Client.getBucketAcl(AmazonS3Client.java:1268)
at 
org.apache.hadoop.fs.s3a.S3AFileSystem.lambda$verifyBucketExistsV2$2(S3AFileSystem.java:864)
at 
org.apache.hadoop.fs.statistics.impl.IOStatisticsBinding.invokeTrackingDuration(IOStatisticsBinding.java:547)
at 
org.apache.hadoop.fs.statistics.impl.IOStatisticsBinding.lambda$trackDurationOfOperation$5(IOStatisticsBinding.java:528)
at org.apache.hadoop.fs.s3a.Invoker.once(Invoker.java:122)
at org.apache.hadoop.fs.s3a.Invoker.lambda$retry$4(Invoker.java:376)
at org.apache.hadoop.fs.s3a.Invoker.retryUntranslated(Invoker.java:468)
at org.apache.hadoop.fs.s3a.Invoker.retry(Invoker.java:372)
at org.apache.hadoop.fs.s3a.Invoker.retry(Invoker.java:347)
at 
org.apache.hadoop.fs.s3a.S3AFileSystem.verifyBucketExistsV2(S3AFileSystem.java:857)
at 
org.apache.hadoop.fs.s3a.S3AFileSystem.doBucketProbing(S3AFileSystem.java:730)
at 
org.apache.hadoop.fs.s3a.S3AFileSystem.initialize(S3AFileSystem.java:590)
at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3601)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:552)
at 
org.apache.hadoop.fs.s3a.ITestS3ABucketExistence.lambda$testAccessPointProbingV2$12(ITestS3ABucketExistence.java:172)
at 
org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:498)
at 
org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:384)
at 
org.apache.hadoop.fs.s3a.ITestS3ABucketExistence.expectUnknownStore(ITestS3ABucketExistence.java:103)
at 
org.apache.hadoop.fs.s3a.ITestS3ABucketExistence.testAccessPointProbingV2(ITestS3ABucketExistence.java:171)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:750)

[ERROR] 
testAccessPointRequired(org.apache.hadoop.fs.s3a.ITestS3ABucketExistence)  Time 
elapsed: 0.581 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)
at 
com.amazonaws.services.s3.AmazonS3Client.validateS3ResourceArn(AmazonS3Client.java:5158)
at 
com.amazonaws.services.s3.Am