TaskInProgress // All information should be exported to monitor system. // Depends on numBSPTasks.
Configuration conf;// defined in JobInProgress.
...
String jobFile = null;// defined in JobInProgress.
int partition;
TaskID id;
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.
...
TaskAttemptID currentTaskId;// the last task in 2d task array should be the current execution task. // see job task relation section
TreeMap<TaskAttemptID, String> activeTasks; // mapping from TaskId to GroomServer. // Task to GroomServer relation is recorded by taskId and groom in o.a.h.b.v2.Task.
TreeMap<TaskAttemptID, TaskStatus> taskStatuses// each task should embed with a status object.
-BSPJobID jobId; // defined in JobInProgress. -
RawSplit rawSplit;
int mySuperstep = -1;// not used.