----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30261/#review70910 -----------------------------------------------------------
Ship it! Ship It! - Colin Ma On Jan. 26, 2015, 2:55 a.m., Xiaomeng Huang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/30261/ > ----------------------------------------------------------- > > (Updated Jan. 26, 2015, 2:55 a.m.) > > > 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 > > sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestDatabaseProvider.java > 4a475ba > > Diff: https://reviews.apache.org/r/30261/diff/ > > > Testing > ------- > > > Thanks, > > Xiaomeng Huang > >
