-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42344/
-----------------------------------------------------------

(Updated 一月 21, 2016, 3:54 p.m.)


Review request for sentry.


Changes
-------

Update patch according Lenni and Colin's feedback.


Bugs: SENTRY-1007
    https://issues.apache.org/jira/browse/SENTRY-1007


Repository: sentry


Description (updated)
-------

Since current architecture will do one time authorization for every entity, the 
sql script like **select col1,col2,col3,.....,colN from test_tb1** will 
authorize all the query columns.

This patch will reuse the CachedHiveBinding at SENTRY-565. Querying all user's 
privileges to local, and use the local privilege for authorzation.


Diffs (updated)
-----

  
sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/HiveAuthzBindingHook.java
 57e4689 

Diff: https://reviews.apache.org/r/42344/diff/


Testing
-------


Thanks,

Dapeng Sun

Reply via email to