public synchronized void launching(TaskRunner runner) throws HiveException {
    checkShutdown();
    running.add(runner);
  }
Handles the queue of tasks that should be executed by the driver.
ql/src/java/org/apache/hadoop/hive/ql/TaskQueue.java