[
https://issues.apache.org/jira/browse/RANGER-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293531#comment-15293531
]
Velmurugan Periasamy commented on RANGER-891:
---------------------------------------------
Committed to ranger-0.5 -
http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/6e7b33bd
> Audit shutdown hook to be registered with Hadoop ShutdownHookManager, instead
> of directly with Java Runtime
> -----------------------------------------------------------------------------------------------------------
>
> Key: RANGER-891
> URL: https://issues.apache.org/jira/browse/RANGER-891
> Project: Ranger
> Issue Type: Bug
> Components: audit
> Affects Versions: 0.5.0, 0.5.1, 0.5.2, 0.6.0
> Reporter: Madhan Neethiraj
> Assignee: Alok Lal
> Fix For: 0.6.0, 0.5.3
>
>
> Ranger audit framework currently registers a shutdown hook with java Runtime
> object. Hadoop provides an utility class, ShutdownHookManager, which helps to
> ensure that the hooks are called in a well defined order. Ranger audit
> framework should be updated to register its shutdown hook with Hadoop's
> ShutdownHookManager:
> https://github.com/apache/hadoop/blob/master/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ShutdownHookManager.java
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)