Quanlong Huang has posted comments on this change. ( http://gerrit.cloudera.org:8080/24785 )
Change subject: IMPALA-15323: Produce Ranger audit events for CREATE/DROP ROLE ...................................................................... Patch Set 5: Code-Review+1 (2 comments) LGTM. Just have a minor comment in the tests. http://gerrit.cloudera.org:8080/#/c/24785/2/fe/src/main/java/org/apache/impala/authorization/ranger/RangerCatalogdAuthorizationManager.java File fe/src/main/java/org/apache/impala/authorization/ranger/RangerCatalogdAuthorizationManager.java: http://gerrit.cloudera.org:8080/#/c/24785/2/fe/src/main/java/org/apache/impala/authorization/ranger/RangerCatalogdAuthorizationManager.java@89 PS2, Line 89: public static final String DROP_ROLE_ACTION = "DROPROLE"; > It's worth keeping a record of the analysis above, so I created IMPALA-1534 Thanks for looking into this Ranger bug! http://gerrit.cloudera.org:8080/#/c/24785/5/fe/src/test/java/org/apache/impala/authorization/ranger/RangerCatalogdAuthorizationManagerTest.java File fe/src/test/java/org/apache/impala/authorization/ranger/RangerCatalogdAuthorizationManagerTest.java: http://gerrit.cloudera.org:8080/#/c/24785/5/fe/src/test/java/org/apache/impala/authorization/ranger/RangerCatalogdAuthorizationManagerTest.java@131 PS5, Line 131: // at the beginning dropRole(), we create the test role 'TEST_ROLE_2' as the user nit: Can we combine this test with testCreateRoleAuditEvents so createRole() doesn't need to drop the role at the end and dropRole() doesn't need to create the role at the beginning? -- 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: comment Gerrit-Change-Id: I3fcfe0dcf54041aca57ed66ddef95b0ddd15b6fb Gerrit-Change-Number: 24785 Gerrit-PatchSet: 5 Gerrit-Owner: Fang-Yu Rao <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Fang-Yu Rao <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Comment-Date: Wed, 28 Oct 2026 03:07:58 +0000 Gerrit-HasComments: Yes
