private void mark(Operator<?> op) {
      planMapper.link(op, new OperatorStats.IncorrectRuntimeStatsMarker());
    }
TezCompiler translates the operator plan into TezTasks.
ql/src/java/org/apache/hadoop/hive/ql/parse/TezCompiler.java