yuqi1129 commented on issue #10100:
URL: https://github.com/apache/iceberg/issues/10100#issuecomment-2056806262

   > @yuqi1129: Caffeine suggests using Java9 system scheduler if possible. 
[Wiki: Cleanup 
(ben-manes/caffeine)](https://github.com/ben-manes/caffeine/wiki/Cleanup)
   > 
   > Would it work for you, or the specific classpath handling you are using, 
would cause issues with it?
   
   Unfortunately, we plan to support Java8 , what's more, the `Cache` instance 
is internal field of `CachedClientPool`, I'm afraid we can't change it except 
for the reflection mechanism. 
   
   Let me explain our user cases.
   
   The Gravitino supports creating multiple catalogs, for example, assuming we 
have created 3 Iceberg catalogs ,each Iceberg catalog will use a separate 
classloader to load iceberg-related jars (include `iceberg-hive-metastore.jar`) 
to provide service.  After some time, we do not need a specific catalog and we 
plan to drop it. When we plan to close the corresponding classloader, it cannot 
be GC by the JVM as there is still a daemon thread mentioned before in the 
issue, so we need a mechanism to explicitly close the daemon thread. 
   
   can you give me some advice, thanks. 
   
   
   
   
   
   


-- 
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-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to