[ https://issues.apache.org/jira/browse/FLINK-23722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402184#comment-17402184 ]
Steve Loughran commented on FLINK-23722: ---------------------------------------- FWIW, you can fix this by setting fs.s3a.endpoint = s3.amazonaws.com if the property is unset/empty ; doesn't surface in EC2 or any developer with the AWS CLI tools set up (which is why nobody noticed) > S3 Tests fail on AZP: Unable to find a region via the region provider chain. > Must provide an explicit region in the builder or setup environment to supply > a region. > -------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: FLINK-23722 > URL: https://issues.apache.org/jira/browse/FLINK-23722 > Project: Flink > Issue Type: Improvement > Components: Connectors / FileSystem > Affects Versions: 1.14.0 > Reporter: Arvid Heise > Assignee: Arvid Heise > Priority: Major > Labels: pull-request-available > Fix For: 1.14.0 > > > E2E and integration tests fail with > {noformat} > Aug 11 09:11:32 Caused by: com.amazonaws.SdkClientException: Unable to find a > region via the region provider chain. Must provide an explicit region in the > builder or setup environment to supply a region. > Aug 11 09:11:32 at > com.amazonaws.client.builder.AwsClientBuilder.setRegion(AwsClientBuilder.java:462) > Aug 11 09:11:32 at > com.amazonaws.client.builder.AwsClientBuilder.configureMutableProperties(AwsClientBuilder.java:424) > Aug 11 09:11:32 at > com.amazonaws.client.builder.AwsSyncClientBuilder.build(AwsSyncClientBuilder.java:46) > Aug 11 09:11:32 at > org.apache.hadoop.fs.s3a.DefaultS3ClientFactory.buildAmazonS3Client(DefaultS3ClientFactory.java:144) > Aug 11 09:11:32 at > org.apache.hadoop.fs.s3a.DefaultS3ClientFactory.createS3Client(DefaultS3ClientFactory.java:96) > Aug 11 09:11:32 at > org.apache.hadoop.fs.s3a.S3AFileSystem.bindAWSClient(S3AFileSystem.java:753) > Aug 11 09:11:32 at > org.apache.hadoop.fs.s3a.S3AFileSystem.initialize(S3AFileSystem.java:446) > Aug 11 09:11:32 ... 44 more > {noformat} > https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=21884&view=logs&j=d44f43ce-542c-597d-bf94-b0718c71e5e8&t=ed165f3f-d0f6-524b-5279-86f8ee7d0e2d -- This message was sent by Atlassian Jira (v8.3.4#803005)