[
https://issues.apache.org/jira/browse/SENTRY-2487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arjun Mishra resolved SENTRY-2487.
----------------------------------
Resolution: Duplicate
> DefaultSentryValidator is not caching privileges when authorizing SHOW
> DATABASE or TABLES command
> -------------------------------------------------------------------------------------------------
>
> Key: SENTRY-2487
> URL: https://issues.apache.org/jira/browse/SENTRY-2487
> Project: Sentry
> Issue Type: Bug
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: Arjun Mishra
> Assignee: Arjun Mishra
> Priority: Major
>
> 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
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)