Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-891

Audit shutdown hook to be registered with Hadoop ShutdownHookManager, instead of directly with Java Runtime

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5.0, 0.5.1, 0.5.2, 0.6.0
    • 0.6.0, 0.5.3
    • audit
    • None

    Description

      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

      Attachments

        Activity

          People

            alok Alok Lal
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: