dragonknightk commented on issue #12856: URL: https://github.com/apache/gravitino/issues/12856#issuecomment-6892028517
Thanks for the detailed analysis. I opened #14975 for this issue, and left the third cause out on purpose because deferring the property map looks risky. The FileSystem cache key is computed from the merged property map, and the HDFS provider reads the Kerberos principal and impersonation keys from it. Those keys can be set on the schema or bound as secrets. If the key is built without the schema properties and secrets, two schemas with different principals on the same cluster would share one cached FileSystem, so reads and writes could run under the wrong identity. A third-party provider's getFullAuthority can also read any property, so the same problem could show up there (。•̀ᴗ-)✧ -- 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]
