You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "igorcalabria (via GitHub)" <gi...@apache.org> on 2023/09/25 09:44:51 UTC
[GitHub] [iceberg] igorcalabria commented on issue #8601: java.lang.IllegalStateException: Connection pool shut down when refreshing table metadata on s3
igorcalabria commented on issue #8601:
URL: https://github.com/apache/iceberg/issues/8601#issuecomment-1733323866
Nice catch. If I understood things correctly, the core issue is that AWS' SDK is tying the lifecycle of its clients to the credentials providers. If iceberg want's clients to be closeable (which is perfectly reasonable ), I think it will need to create a new provider for each client. The main drawback is that it will have to refresh credentials for each new client...
If AWS supports it, a different http client instance could be passed to the credential provider so it wouldn't be closed with s3's
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org