Details
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: