Arjun Mishra created SENTRY-2487:
------------------------------------
Summary: Sentry Hive client 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: Improvement
Components: Sentry
Affects Versions: 2.1.0
Reporter: Arjun Mishra
Assignee: Arjun Mishra
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)