Differences between revisions 6 and 7
Revision 6 as of 2014-02-14 14:51:28
Size: 1089
Editor: ChiaHungLin
Revision 7 as of 2014-02-14 14:53:19
Size: 1163
Editor: ChiaHungLin
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
== Job Task Relation == == Task Table ==
Line 18: Line 18:
}}} }}}
See [[#An Task Table Example|An Task Table Example]]
Line 20: Line 21:
== An Task Task Example == === An Task Table Example ===
Line 26: Line 27:
== Job Task Relation ==

Task Table

A TaskTable records tasks information.

  • The entire task table belongs to the same BSPJobID.

  • A 2d array space is allocated with numBSPTasks row, and maxTaskAttempts is configured to check if `attempt task' exceeds the upper bound.

  • Each row's first slot (ie Task[0]) is assigned with a task where

TaskID's id: 1...N where N < numBSPTasks
TaskAttemptID' id: 1
  • A task managed by the task table has attributes such that

{TaskID's id: 1...N where N < numBSPTasks, and the same row's id should equal.}
{TaskAttemptID's id: 1...M where M < maxTaskAttempts }

See An Task Table Example

An Task Table Example




Task {jobId:1, taskId: 1, attemptId:1}

Task {jobId:1, taskId: 1, attemptId:2}

Task jobId:1, taskId: 1, attemptId:3

Task {jobId:1, taskId: 2, attemptId:1}

Task {jobId:1, taskId: 2, attemptId:2}

Task {jobId:1, taskId: 2, attemptId:3}

Job Task Relation


TaskTable (last edited 2014-02-14 14:53:19 by ChiaHungLin)