-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30261/
-----------------------------------------------------------
Review request for sentry.
Bugs: SENTRY-617
https://issues.apache.org/jira/browse/SENTRY-617
Repository: sentry
Description
-------
Now if we execute "grant role role1 to group group1, group group2, group
group3", we will execute 3 thrift call.
Currently we have thrift API to support grant/revoke one role to/from a set of
groups, so we can improve the client call.
Diffs
-----
sentry-binding/sentry-binding-hive/src/main/java/org/apache/hadoop/hive/ql/exec/SentryGrantRevokeTask.java
69e97a6
sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/thrift/SentryPolicyServiceClient.java
962228f
sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/thrift/SentryPolicyServiceClientDefaultImpl.java
d21a401
Diff: https://reviews.apache.org/r/30261/diff/
Testing
-------
Thanks,
Xiaomeng Huang