You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/07/27 18:49:08 UTC

[GitHub] [iceberg] szehon-ho commented on issue #5371: Hive: Concurrency Issue for CachedClientPool

szehon-ho commented on issue #5371:
URL: https://github.com/apache/iceberg/issues/5371#issuecomment-1197229658

   Yea to sum up, these are the options:
   
   1.  Implement a counter  for each ClientPool, that is incremented at beginning of ClientPool::run() call, and decremented at the end.  The close() thread will block until counter is 0.
   
   2.  Implement a retry mechanism in CachedClientPool::run(), which will call call clientPool() again if we hit a closed 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: 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