-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70013/
-----------------------------------------------------------
(Updated Feb. 20, 2019, 9:59 p.m.)
Review request for sentry, Arjun Mishra, Haley Reeve, and kalyan kumar
kalvagadda.
Bugs: sentry-2501
https://issues.apache.org/jira/browse/sentry-2501
Repository: sentry
Description
-------
The filter in SentryMetaStoreFilterHook does not cache sentry privileges.
Therefore, for each item in the list, sentry client has to get privileges from
sentry server.
To improve performance, we need to add cache in SentryMetaStoreFilterHook
Diffs (updated)
-----
sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/metastore/MetastoreAuthzBindingBase.java
cdb6de4
sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/metastore/SentryMetaStoreFilterHook.java
312c5db
Diff: https://reviews.apache.org/r/70013/diff/2/
Changes: https://reviews.apache.org/r/70013/diff/1-2/
Testing
-------
existing HMS tests succeeded
Thanks,
Na Li