[
https://issues.apache.org/jira/browse/RANGER-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16080852#comment-16080852
]
Velmurugan Periasamy commented on RANGER-1502:
----------------------------------------------
[~yzhou2001] - can you please confirm this scenario is specific to Ranger Solr
plugin auditing to HDFS? What Solr version is being used?
CC [~rmani]/[~sneethiraj] for review.
> 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
> Fix For: master
>
> 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
(v6.4.14#64029)