JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
CLOSED  Feature request JPPF-583  -  Tasks dependencies within a job
Posted Mar 22, 2019 - updated May 10, 2019
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Feature request
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Core
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Targetted for
    icon_milestones.png JPPF 6.2
Issue description
We propose to enable dependencies between tasks in the same job. For instance, we envision the ability to express that task A depends on the completion of tasks B and C, who each depend on the completion of task D (diamond dependency graph):
Dependencies:
   B
 /   \
A     D
 \   /
   C
This implies a number of challenges, including but not limited to:
  • decide how to schedule and parallelize the execution of the tasks: a task with dependencies cannot be scheduled before its dependenices have completed
  • handle failures / cancellation of tasks on which other tasks depend
  • provide an expressive and intuitive API to specify the dependencies

#4
Comment posted by
 lolo4j
Apr 17, 07:26
I forgot to specify that a strong requirement is to not break existing task and job APIs