code: @Override
    public void taskStateChange(TaskStatus.State state, TaskInProgress tip,
        TaskAttemptID taskid, String host) {
      LOG.info("The state of " + taskid + " changed to " + state +
          " on host " + host);
      processTaskResource(state, tip, taskid);
    }
docs: ////////////////////////////////////////////////////////////////////////////