dejii opened a new pull request, #15968: URL: https://github.com/apache/iceberg/pull/15968
### Summary - HadoopCatalog: add `fileIO` to existing `closeableGroup` - HiveCatalog: introduce `CloseableGroup` (replacing manual close calls) and register `fileIO`, `keyManagementClient`, and `metricsReporter` ## Problem All major Iceberg catalog implementations close their `FileIO` when `catalog.close()` is called — except `HadoopCatalog` and `HiveCatalog`: For the default `HadoopFileIO` this is harmless — it has no `close()` implementation. But users who configure a non-default `FileIO` via `io-impl` (e.g. `S3FileIO`, `GCSFileIO`) will leak HTTP connection pools since `close()` is never called on the FileIO. ## Impact - Default config (HadoopFileIO): No behavioral change - Non-default FileIO (S3FileIO, GCSFileIO): Connection pools are now properly released on catalog close -- 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]
