JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
enhancement_small.png
CLOSED  Enhancement JPPF-282  -  Allow job SLA's maxTaskResubmits attribute to apply upon node error
Posted Jun 05, 2014 - updated Jun 13, 2014
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
    Enhancement
  • 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
    Server
  • Resolution
    RESOLVED
  • Priority
    Not determined
  • Targetted for
    icon_milestones.png JPPF 4.2
Issue description
Currently, the job SLA maxTaskResubmits attribute is only used in conjunction with Task.setResubmit(), that is, when a task explicitely resubmits itself. This does not allow to prevent task resubmission when an error occurs on the node to which the tasks were submitted. In this scenario, for instance, it is not possible to avoid the side effects of persistent operations performed by the tasks, like yupdating a database or creating/modifying/deleting files on a file system.

We propose to enable maxTaskResubmits to be applied when a node error occurs, with an additional explicit flag. This will be done differently based on the branch in which it is implemented:
  • in branch 4.1, we will have the server use a value in the job metadata, for instance: job.getMetadata().getParameter("jppf.job.applyMaxResubmitOnNodeError", false);
  • in the trunk (for upcoming v4.2) we will add an SLA attribute for this, which will override the metadata parameter if it is present and when this SLA attribute is true

#4
Comment posted by
 lolo4j
Jun 05, 07:54
implemented in branch b4.1 revision 3223
#5
Comment posted by
 lolo4j
Jun 13, 09:29
implemented in trunk revision 3228