XBaith opened a new issue, #5769:
URL: https://github.com/apache/iceberg/issues/5769
### Query engine
Java API
### Question
In `AwsClientFactories`, the region is not set in the `s3()` and `glue()`
functions. This causes some exceptions when using the Java API. So is it
necessary to append the region in the relevant builder?
```
public GlueClient glue() {
return
GlueClient.builder().httpClientBuilder(configureHttpClientBuilder(httpClientType)).build();
}
```
```
public S3Client s3() {
return S3Client.builder()
.httpClientBuilder(configureHttpClientBuilder(httpClientType))
.applyMutation(builder -> configureEndpoint(builder, s3Endpoint))
.serviceConfiguration(s3Configuration(s3PathStyleAccess,
s3UseArnRegionEnabled))
.credentialsProvider(credentialsProvider(s3AccessKeyId,
s3SecretAccessKey, s3SessionToken))
.build();
}
```
--
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]