System and method for modifying execution of scripts for a job scheduler using deontic logic
First Claim
1. A system for modifying execution of scripts for a job scheduler using deontic logic, comprising:
- a job scheduler configured to execute a schedule that includes at least one task associated with a goal having a first deontic modality associated therewith and create one or more event logs that include information associated with executing the at least one task in the schedule; and
a rollback and rerun supervisor communicatively coupled to the job scheduler, wherein the rollback and rerun supervisor is configured to;
determine whether the at least one task has succeeded or failed based on whether the information in the one or more event logs indicates that the goal associated with the at least one task has been achieved in a manner consistent with the first deontic modality;
determine a second deontic modality associated with recovering from failure of the at least one task if the information in the one or more event logs indicates that the at least one task has failed to achieve the goal in a manner consistent with the first deontic modality; and
load a recovery script to the job scheduler based on the second deontic modality associated with recovering from failure of the at least one task, wherein the recovery script loaded to the job scheduler includes a task description designed to achieve the goal associated with the at least one task in a manner consistent with the first deontic modality.
3 Assignments
0 Petitions
Accused Products
Abstract
A system and method for modifying execution scripts associated with a job scheduler may include monitoring for the execution of a task to determine when the task has failed. Details of the failed task may be identified and used to attempt recovery from the task failure. After initiating any recovery tasks, execution of the recovery tasks may be monitored, and one or more supplementary recovery tasks may be identified and executed, or the original task may be rerun at an appropriate execution point based on the initial point of failure. Thus, when a task has failed, an iterative process may begin where various effects of the failed task are attempted to be rolled back, and depending on the success of the rollback, the initial task can be rerun at the point of failure, or further recovery tasks may be executed.
217 Citations
44 Claims
-
1. A system for modifying execution of scripts for a job scheduler using deontic logic, comprising:
-
a job scheduler configured to execute a schedule that includes at least one task associated with a goal having a first deontic modality associated therewith and create one or more event logs that include information associated with executing the at least one task in the schedule; and a rollback and rerun supervisor communicatively coupled to the job scheduler, wherein the rollback and rerun supervisor is configured to; determine whether the at least one task has succeeded or failed based on whether the information in the one or more event logs indicates that the goal associated with the at least one task has been achieved in a manner consistent with the first deontic modality; determine a second deontic modality associated with recovering from failure of the at least one task if the information in the one or more event logs indicates that the at least one task has failed to achieve the goal in a manner consistent with the first deontic modality; and load a recovery script to the job scheduler based on the second deontic modality associated with recovering from failure of the at least one task, wherein the recovery script loaded to the job scheduler includes a task description designed to achieve the goal associated with the at least one task in a manner consistent with the first deontic modality. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method for executing a job schedule, comprising:
-
defining a schedule to execute a plurality of tasks; executing a first one of the plurality of tasks according to the defined schedule, wherein the first executed task includes a first goal having an Interdicted deontic modality; generating an execution event log that includes information to indicate whether the first goal having the Interdicted deontic modality has been achieved based on an execution status associated with the first executed task; and attempting to identify a first recovery schedule to rollback the first executed task if the information in the execution event log indicates that the first goal having the Interdicted deontic modality has been achieved, wherein the first recovery schedule includes a first recovery task associated with a goal having an Obliged deontic modality that requires a rollback to unachieve the first goal having the Interdicted deontic modality. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A method for modifying execution of scripts for a job scheduler using deontic logic, comprising:
-
using a job scheduler to execute a schedule that includes a composite task having multiple dependent sub-tasks and one or more composite operators to define a manner to execute the multiple dependent sub-tasks, wherein at least one of the multiple dependent sub-tasks includes a goal having a first deontic modality associated therewith; creating, via the job scheduler, an event log that includes information associated with executing the multiple dependent sub-tasks associated with the composite task; determining, at a rollback and rerun supervisor, whether the composite task has succeeded or failed based on whether the information in the event log indicates that the goal associated with the at least one dependent sub-task has been achieved in a manner consistent with the first deontic modality; determining, at the rollback and rerun supervisor, a second deontic modality to recover from failure associated with the composite task if the information in the event log indicates that the at least one dependent sub-task has failed to achieve the goal associated therewith in a manner consistent with the first deontic modality; and loading, via the rollback and rerun supervisor, a recovery script to the job scheduler based on the second deontic modality to recover from the failure associated with the composite task, wherein the loaded recovery script includes a task description designed to achieve the goal associated with the at least one dependent sub-task in a manner consistent with the first deontic modality. - View Dependent Claims (18, 19, 20, 21, 22)
-
-
23. A method for modifying execution of scripts for a job scheduler using deontic logic, comprising:
-
using a job scheduler to execute a schedule that includes at least one task associated with a goal having a first deontic modality associated therewith, wherein the job scheduler creates one or more event logs that include information associated with executing the at least one task in the schedule; determining, at a rollback and rerun supervisor communicatively coupled to the job scheduler, whether the at least one task has succeeded or failed based on whether the information in the one or more event logs indicates that the goal associated with the at least one task has been achieved in a manner consistent with the first deontic modality; determining, at the rollback and rerun supervisor, a second deontic modality associated with recovering from failure of the at least one task if the rollback and rerun supervisor determines that the information in the one or more event logs indicates that the at least one task has failed to achieve the goal in a manner consistent with the first deontic modality; and loading, via the rollback and rerun supervisor, a recovery script to the job scheduler based on the second deontic modality associated with recovering from failure of the at least one task, wherein the recovery script loaded to the job scheduler includes a task description designed to achieve the goal associated with the at least one task in a manner consistent with the first deontic modality. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
-
34. A system for executing a job schedule, wherein the system comprises one or more processors configured to:
-
define a schedule to execute a plurality of tasks; execute a first one of the plurality of tasks according to the defined schedule, wherein the first executed task includes a first goal having an Interdicted deontic modality; generate an execution event log that includes information to indicate whether the first goal having the Interdicted deontic modality has been achieved based on an execution status associated with the first executed task; and attempt to identify a first recovery schedule to rollback the first executed task if the information in the execution event log indicates that the first goal having the Interdicted deontic modality has been achieved, wherein the first recovery schedule includes a first recovery task associated with a goal having an Obliged deontic modality that requires a rollback to unachieve the first goal having the Interdicted deontic modality. - View Dependent Claims (35, 36, 37, 38)
-
-
39. A system for modifying execution of scripts for a job scheduler using deontic logic, wherein the system comprises one or more processors configured to:
-
execute a schedule that includes a composite task having multiple dependent sub-tasks and one or more composite operators to define a manner to execute the multiple dependent sub-tasks, wherein at least one of the multiple dependent sub-tasks includes a goal having a first deontic modality associated therewith; create an event log that includes information associated with executing the multiple dependent sub-tasks associated with the composite task; determine whether the composite task has succeeded or failed based on whether the information in the event log indicates that the goal associated with the at least one dependent sub-task has been achieved in a manner consistent with the first deontic modality; determine a second deontic modality to recover from failure associated with the composite task if the information in the event log indicates that the at least one dependent sub-task has failed to achieve the goal associated therewith in a manner consistent with the first deontic modality; and load a recovery script based on the second deontic modality to recover from the failure associated with the composite task, wherein the loaded recovery script includes a task description designed to achieve the goal associated with the at least one dependent sub-task in a manner consistent with the first deontic modality. - View Dependent Claims (40, 41, 42, 43, 44)
-
Specification