deniskuzZ commented on PR #6131:
URL: https://github.com/apache/hive/pull/6131#issuecomment-3461978653

   
   > I found that this proposed change resolves the warning for the unclosed 
`ResolvingFileIO` instance in the logs, but it break the functionality, because 
it closes `HiveRESTCatalogClient` connection to the `RESTCatalog` server and 
causes below exceptions when Iceberg tries to commit to an iceberg table.
   > 
   > ```
   > 2025-10-15 13:29:33 2025-10-15T17:29:33,844 ERROR 
[HiveServer2-Background-Pool: Thread-159] hive.HiveIcebergStorageHandler: Error 
while trying to commit job: job_17605493726650_0001, starting rollback changes 
for table: ice_rest.ice_orc2
   > 2025-10-15 13:29:33 java.lang.IllegalStateException: Connection pool shut 
down
   > 2025-10-15 13:29:33     at 
org.apache.hc.core5.util.Asserts.check(Asserts.java:38) 
~[httpcore5-5.3.1.jar:5.3.1]
   > 2025-10-15 13:29:33     at 
org.apache.hc.core5.pool.StrictConnPool.lease(StrictConnPool.java:175) 
~[httpcore5-5.3.1.jar:5.3.1]
   > ...
   > ```
   
   RESTSessionCatalog ->
   this.closeables.addCloseable(this.client);
   
   


-- 
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]

Reply via email to