public static boolean isLlapMode(Configuration conf) {
    return "llap".equalsIgnoreCase(HiveConf.getVar(conf, HiveConf.ConfVars.HIVE_EXECUTION_MODE));
  }
Returns MapWork based what is serialized in the JobConf instance provided.
@param job
@return the MapWork instance. Might be null if missing.
ql/src/java/org/apache/hadoop/hive/llap/LlapHiveUtils.java