...
TaskAttemptID attemptId;// newly added, representing the attempt id for this task.
TaskStatus status; // newly added. indicate the state of this task, e.g. this task is running or not.
JobInProgress job;// TaskInProgress is contained within JobInProgress.
...