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

Audit shutdown hook should not only do its processing interruptibly but also have an upper bound on how long it runs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.2
    • audit
    • None

    Description

      Ranger audit framework installs a shutdown hook which attempts to flush any pending audit messages (in the async audit queue) to respective audit sinks. There have been issues reported from field that in this shutdown hook can hold up graceful shutdown of its host service. In some cases this inability to shutdown in a timely manner can interfere with the host services' HA guarantees, e.g. Namenodes HA relies on it to shutdown itself gracefully so standby can takeover.

      Attachments

        1. 821.final.patch
          5 kB
          Alok Lal

        Activity

          People

            alok Alok Lal
            alok Alok Lal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: