ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mehul Parikh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RANGER-1502) Solr shutdown does not cause the audit log file to be flushed and closed.
Date Thu, 27 Sep 2018 10:03:00 GMT

    [ https://issues.apache.org/jira/browse/RANGER-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16630095#comment-16630095
] 

Mehul Parikh commented on RANGER-1502:
--------------------------------------

Committed to [ranger-0.7|https://github.com/apache/ranger/commit/302c20a595b93c5af7824f56b7b922fa494d5986]

> Solr shutdown does not cause the audit log file to be flushed and closed.
> -------------------------------------------------------------------------
>
>                 Key: RANGER-1502
>                 URL: https://issues.apache.org/jira/browse/RANGER-1502
>             Project: Ranger
>          Issue Type: Bug
>          Components: audit, plugins
>    Affects Versions: 0.7.0
>            Reporter: Yan
>            Assignee: Yan
>            Priority: Major
>             Fix For: 1.0.0
>
>         Attachments: 0001-RANGER-1502-Solr-shutdown-does-not-cause-the-audit-l.patch
>
>
> The current audit stream close mechanism uses a Java shutdown hook registered with Hadoop's
ShutdownHookManager. Solr shutdown, however, somehow does not cause the shutdown hook to be
invoked, potentially resulting lost audit logs. We are experiencing lost logs toward HDFS
audit destination.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message