ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alok Lal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (RANGER-821) Audit shutdown hook should not only do its processing interruptibly but also have an upper bound on how long it runs
Date Tue, 26 Jan 2016 19:53:39 GMT

     [ https://issues.apache.org/jira/browse/RANGER-821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alok Lal updated RANGER-821:
----------------------------
    Attachment: 821.final.patch

Patch available.

> 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
>            Assignee: Alok Lal
>         Attachments: 821.final.patch
>
>
> 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)

Mime
View raw message