public static boolean isLaunchable(Task<?> tsk) {
    // A launchable task is one that hasn't been queued, hasn't been
    // initialized, and is runnable.
    return tsk.isNotInitialized() && tsk.isRunnable();
  }
Checks if a task can be launched.

@param tsk
         the task to be checked
@return true if the task is launchable, false otherwise
ql/src/java/org/apache/hadoop/hive/ql/TaskQueue.java