Haihui Xu created RANGER-2676: --------------------------------- Summary: Before obtaining AuditHandler Object should check xasecure.audit.destination.xx value Key: RANGER-2676 URL: https://issues.apache.org/jira/browse/RANGER-2676 Project: Ranger Issue Type: Improvement Components: audit, plugins Affects Versions: 1.2.0, 2.0.0, 1.1.0, 1.0.0 Reporter: Haihui Xu Assignee: Haihui Xu Fix For: 2.0.0
When after evalute policy and then process the auditlog,need to obtain AuditHandler Object and AuthzAuditEvent object (1)AuditHandler object obtained when init plugin according to the value of xasecure.audit.destination.{db/solor...} (2) So, obtaining AuthzAuditEvent should also according to the value of xasecure.audit.destination.{db/solor...}, or when AuditHandler is null or dummyHandler, constructing AuthzAuditEvent object is useless which is very frequently called and thus result in the performance decline of service(hdfs namenode, kakfa broker,hiveserver2...) -- This message was sent by Atlassian Jira (v8.3.4#803005)