adutra commented on issue #12363:
URL: https://github.com/apache/iceberg/issues/12363#issuecomment-2677883345

   @varpa89 I think I see where your problem could be coming from: if you are 
using these constructors:
   
   
https://github.com/apache/iceberg/blob/1e126e24e2c4b639e2509d3f8194e5ceaace6d56/core/src/main/java/org/apache/iceberg/rest/RESTCatalog.java#L55-L63
   
   And creating lots of catalog instances, then you would end up with lots of 
cached auth sessions. That's because 
`SessionCatalog.SessionContext.createEmpty()` returns a different UUID key each 
time.
   
   I wonder if `SessionCatalog.SessionContext.createEmpty()` shouldn't return a 
constant UUID 🤔 


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