public static void addShutdownHook(Runnable shutdownHook) {
    addShutdownHook(shutdownHook, DEFAULT_SHUTDOWN_HOOK_PRIORITY);
  }
Adds shutdown hook with default priority (10)
@param shutdownHook - shutdown hook
common/src/java/org/apache/hive/common/util/ShutdownHookManager.java