Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.1.0
-
None
-
None
Description
When we run a SHOW DATABASES or SHOW TABLES command on the Hive side, the bindings we create or this check is not with a cache of privileges. This makes the authorization checks slow as for every database/table authorization, request is sent to the Sentry server which pulls privileges from the database. Having a cache will fix this problem
Attachments
Issue Links
- duplicates
-
SENTRY-2488 Add privilege cache to sentry hive bindings in DefaultAccessValidator
- Resolved