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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0, 0.5.1, 0.5.2, 0.6.0
    • Fix Version/s: 0.6.0, 0.5.3
    • Component/s: audit
    • Labels:
      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

            • Assignee:
              aloklal99 Alok Lal
              Reporter:
              madhan.neethiraj Madhan Neethiraj
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: