Details
-
Improvement
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
2.1.0
Description
Process the auditlog,need to getAuditProvider and getAuthzEvents, when logAuthzAudit, the code is
if (auditProvider == null || !auditProvider.log(auditEvent))
so, when getAuthzEvents should check auditProvider value, when auditProvider is null, there is no need to construct auditEvent, which is time-consuming and will result in the performance decline of service(kakfa broker,namenode, hiveserver2...)