private static void setBaseWork(Configuration conf, String name, BaseWork work) {
    Path path = getPlanPath(conf, name);
    setHasWork(conf, name);
    gWorkMap.get(conf).put(path, work);
  }
Pushes work into the global work map
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java