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

AsyncAuditProvider thread should exit without delay on shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • None
    • None

    Description

      Currently, the thread created by AsyncAuditProvider can wait upto 30 seconds before exiting during shutdown. This behavior is due to the mechanism used to notify the audit thread to quit - a flag set by the thread that signals to quit.

      Update this implementation to use Thread.interrupt() call, which will result in InterruptedException in the audit thread. This will ensure that the audit thread will not delay shutdown of the process (like namenode, hbase-servers, hive-server, etc).

      Attachments

        Activity

          People

            madhan Madhan Neethiraj
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: