@Override
  public void updateTaskMetrics(Metrics metrics) {
    metrics.incrementCounter(MetricsConstant.HIVE_TEZ_TASKS);
  }
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