You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Alok Lal (JIRA)" <ji...@apache.org> on 2016/01/25 21:08:39 UTC

[jira] [Created] (RANGER-821) Audit shutdown hook should not only do its processing interruptibly but also have an upper bound on how long it runs

Alok Lal created RANGER-821:
-------------------------------

             Summary: Audit shutdown hook should not only do its processing interruptibly but also have an upper bound on how long it runs
                 Key: RANGER-821
                 URL: https://issues.apache.org/jira/browse/RANGER-821
             Project: Ranger
          Issue Type: Bug
          Components: audit
            Reporter: Alok Lal


Ranger audit framework installs a shutdown hook which attempts to flush any pending audit messages (in the async audit queue) to respective audit sinks.  There have been issues reported from field that in this shutdown hook can hold up graceful shutdown of its host service.  In some cases this inability to shutdown in a timely manner can interfere with the host services' HA guarantees, e.g. Namenodes HA relies on it to shutdown itself gracefully so standby can takeover.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)