public static void addShutdownHook(Runnable shutdownHook, int priority) {
    addShutdownHook(shutdownHook, priority, 30);
  }
Adds shutdown hook with a priority and default timeout (30s)
@param shutdownHook shutdown hook
@param priority priority of the shutdownHook
common/src/java/org/apache/hive/common/util/ShutdownHookManager.java