public void setOptimizedCBOPlan(String optimizedCBOPlan) {
    this.optimizedCBOPlan = optimizedCBOPlan;
  }
Extract all the counters from tasks and operators.
ql/src/java/org/apache/hadoop/hive/ql/QueryPlan.java