report = " map = " + Math.round(rj.mapProgress() * 100) + "%, reduce ="
+ Math.round(rj.reduceProgress() * 100) + "%";
if (!report.equals(lastReport)) {
SessionState ss = SessionState.get();
if (ss != null) {
ss.getHiveHistory().setTaskCounters(
SessionState.get().getQueryId(), getId(), rj);
ss.getHiveHistory().setTaskProperty(
SessionState.get().getQueryId(), getId(),
Keys.TASK_HADOOP_PROGRESS, report);
ss.getHiveHistory().progressTask(
SessionState.get().getQueryId(), this);
}
console.printInfo(report);
lastReport = report;
}