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

[jira] [Created] (RANGER-891) Audit shutdown hook to be registered with Hadoop ShutdownHookManager, instead of directly with Java Runtime

Madhan Neethiraj created RANGER-891:
---------------------------------------

             Summary: 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


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:

Javadoc:
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)