code: public synchronized void commitPending(TaskAttemptID taskid,
                                           TaskStatus taskStatus)
    throws IOException {
      LOG.info("Task " + taskid + " is in commit-pending," +"" +
               " task state:" +taskStatus.getRunState());
      statusUpdate(taskid, taskStatus);
      reportTaskFinished(taskid, true);
    }
docs: Task is reporting that it is in commit_pending
  and it is waiting for the commit Response