runInputBytes[i] = counters.findCounter("FileSystemCounters",
"HDFS_BYTES_READ").getValue()
- counters.findCounter(TaskCounter.SPLIT_RAW_BYTES).getValue();
runInputRecords[i] = (int) counters.findCounter(
TaskCounter.MAP_INPUT_RECORDS).getValue();
runOutputBytes[i] = counters
.findCounter(TaskCounter.MAP_OUTPUT_BYTES).getValue();
runOutputRecords[i] = (int) counters.findCounter(
TaskCounter.MAP_OUTPUT_RECORDS).getValue();
specInfo = spec.getTaskInfo(TaskType.MAP, i);