private boolean isReadOnlyHookRegistered() {
    return conf.get(HiveConf.ConfVars.PRE_EXEC_HOOKS.varname) != null &&
      conf.get(HiveConf.ConfVars.PRE_EXEC_HOOKS.varname).contains(READ_ONLY_HOOK);
  }
Provides the root Tasks created as a result of this loadTask run which will be executed
by the driver. It does not track details across multiple runs of LoadTask.
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadTask.java