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/11/07 14:34:11 UTC

[GitHub] [iceberg] pvary commented on issue #6071: Should ClientPool consider UGI when reusing a connection?

pvary commented on issue #6071:
URL: https://github.com/apache/iceberg/issues/6071#issuecomment-1305705704

   Sorry for the delay - I was OOO.
   
   Since we are reusing the HMSClient objects, we can face authorization issues if we are using Catalogs with multi-tenant scenarios. We were briefly considering using custom keys for the `CachedClientPool.clientPoolCache`, but at that time decided against it, since we did not see an immediate benefit/use-case. Spark was not reusing the Catalogs, and Hive was using a server side catalog using the HS2 credentials anyway.
   
   This might be a situation where some hash of the bunch of configuration values, or some more specific cache key should be useful.


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