code: static TaskStatus createTaskStatus(DataInput in, TaskAttemptID taskId, 
                                       float progress, int numSlots,
                                       State runState, String diagnosticInfo,
                                       String stateString, String taskTracker,
                                       Phase phase, Counters counters) 
    throws IOException {
      boolean isMap = in.readBoolean();
      return createTaskStatus(isMap, taskId, progress, numSlots, runState, 
                              diagnosticInfo, stateString, taskTracker, phase, 
                              counters);
    }
docs: ////////////////////////////////////////////////////////////////////////////