@Override
  public StageType getType() {
    return StageType.MAPRED;
  }
Close DagClient, log warning if it throws any exception.
We don't want to fail query if that function fails.
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezTask.java