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.