Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Table of Contents

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.
  • Wiki Markup
    Each row's first slot (ie Task\[0\]) is assigned with a task where

No Format
TaskID's id: 1...N where N < numBSPTasks
TaskAttemptID' id: 1
  • A task managed by the task table has attributes such that
No Format
{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

 

maxTaskAttempts

numBSPTasks

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