Hello Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24808
to look at the new patch set (#2).
Change subject: IMPALA-15341: Preserve accessType and action in Ranger's audit
events
......................................................................
IMPALA-15341: Preserve accessType and action in Ranger's audit events
This patch makes Impala preserve the fields of 'accessType' and 'action'
in Ranger AuthzAuditEvent for CREATE/DROP ROLE and GRANT/REVOKE ROLE
operations despite the behavior of
RangerDefaultAuditHandler#getAuthzEvents() as described in RANGER-5594.
Testing:
- Revised the expected value of the affected field in AuthzAuditEvent
in existing Java tests to verify both fields are preserved.
Change-Id: I06eeb3caded2480ad198550bd286337b62f692c2
---
M
fe/src/main/java/org/apache/impala/authorization/ranger/RangerBufferAuditHandler.java
M
fe/src/main/java/org/apache/impala/authorization/ranger/RangerCatalogdAuthorizationManager.java
M
fe/src/test/java/org/apache/impala/authorization/ranger/RangerCatalogdAuthorizationManagerTest.java
3 files changed, 57 insertions(+), 23 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/08/24808/2
--
To view, visit http://gerrit.cloudera.org:8080/24808
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I06eeb3caded2480ad198550bd286337b62f692c2
Gerrit-Change-Number: 24808
Gerrit-PatchSet: 2
Gerrit-Owner: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>