Fang-Yu Rao has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/24785


Change subject: IMPALA-15323: Produce Ranger audit events for CREATE/DROP ROLE
......................................................................

IMPALA-15323: Produce Ranger audit events for CREATE/DROP ROLE

This patch makes Impala produce Ranger audit events for the CREATE ROLE
and DROP ROLE statements.

Testing:
 - Added Java tests to verify the audit events are indeed produced.

Change-Id: I3fcfe0dcf54041aca57ed66ddef95b0ddd15b6fb
---
M fe/src/main/java/org/apache/impala/authorization/AuthorizationManager.java
M fe/src/main/java/org/apache/impala/authorization/NoopAuthorizationFactory.java
M 
fe/src/main/java/org/apache/impala/authorization/ranger/RangerCatalogdAuthorizationManager.java
M 
fe/src/main/java/org/apache/impala/authorization/ranger/RangerImpaladAuthorizationManager.java
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
M 
fe/src/test/java/org/apache/impala/authorization/ranger/RangerCatalogdAuthorizationManagerTest.java
6 files changed, 204 insertions(+), 47 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/85/24785/1
--
To view, visit http://gerrit.cloudera.org:8080/24785
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3fcfe0dcf54041aca57ed66ddef95b0ddd15b6fb
Gerrit-Change-Number: 24785
Gerrit-PatchSet: 1
Gerrit-Owner: Fang-Yu Rao <[email protected]>

Reply via email to