public static void interrupt() {
    synchronized (interruptCallbacks) {
      for (HiveInterruptCallback resource : new ArrayList<HiveInterruptCallback>(interruptCallbacks)) {
        resource.interrupt();
      }
    }
  }
Request interruption of current hive command
common/src/java/org/apache/hadoop/hive/common/HiveInterruptUtils.java