Kontinuation commented on issue #8601: URL: https://github.com/apache/iceberg/issues/8601#issuecomment-1737434750
> Can you confirm that this fixes the issue? I think changing to using `DefaultCredentialsProvider.builder().build()` makes sense. @amogh-jahagirdar thoughts on the issue described here? Yes. I confirmed that this really fixed the issue. Using a unique instance of DefaultCredentialsProvider per S3 client is also the default behavior of AWS SDK v2 (See [AwsDefaultClientBuilder.resolveCredentials](https://github.com/aws/aws-sdk-java-v2/blob/2.20.155/core/aws-core/src/main/java/software/amazon/awssdk/awscore/client/builder/AwsDefaultClientBuilder.java#L352-L359)). I think using `DefaultCredentialsProvider.builder().build()` is a reasonable fix, though it will send more requests for refresh credentials. -- 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]
