Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2676

Before obtaining AuthzAuditEvent Object should check xasecure.audit.destination.xx value

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • 1.0.0, 1.1.0, 2.0.0, 1.2.0
    • 1.2.1
    • audit, plugins

    Description

      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/solr/hdfs/...
      (2) So, obtaining AuthzAuditEvent should also according to the value of xasecure.audit.destination.db/solr/hdfs/...,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...)

      Attachments

        1. RANGER-2676.patch
          3 kB
          Haihui Xu

        Activity

          People

            Seymour Xu Haihui Xu
            Seymour Xu Haihui Xu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: