forked from apache/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[master] add RPC to reset AuthzProvider's cache
This changelist adds an RPC end-point to control SentryAuthzProvider's privileges cache. As of now, it's only possible to reset the cache of the aggregated SentryPrivilegesFetcher via the newly added ResetAuthzCache() method. The method has been added into the master's RPC interface. It's necessary to have admin/superuser credentials to successfully invoke the method via Kudu RPC. Also, added few tests to cover the new functionality. Change-Id: Ib9a5c1f84172acf5751f68edfb8a9bb25df6b3f6 Reviewed-on: http://gerrit.cloudera.org:8080/13063 Tested-by: Kudu Jenkins Reviewed-by: Hao Hao <[email protected]> Reviewed-by: Andrew Wong <[email protected]>
- Loading branch information
1 parent
bacc1f3
commit fdf2ae0
Showing
14 changed files
with
354 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.