Big Data Platform
Data Management Platform
Data Services Platform
Real-Time Big Data Platform
About this task
You can set "checkpoints" on one or more trigger connections of the types OnSubjobOK and OnSubjobError you use to connect components together in your Job design. Doing that will allow, in case of failure during execution, to recover the execution of your Job from the last checkpoint previous to the error.
Therefore, checkpoints within Job design can be defined as reference points that can precede or follow a failure point during Job execution.
To define a checkpoint on a trigger connection in a Job, do the following:
In the design workspace and after designing your Job, click the trigger
connection you want to set as a checkpoint.
The Basic settings view of the selected trigger connection appears.
Click the Error recovery tab in the lower
left corner to display the Error recovery
- Select the Recovery Checkpoint check box to define the selected trigger connection as a checkpoint in the Job data flow. The icon is appended on the selected trigger connection.
- In the Label field, enter a name for the defined checkpoint. This name will display in the Label column in the Recovery checkpoints view in Talend Administration Center. For more information, see Talend Administration Center User Guide.
- In the Failure Instructions field, enter a free text to explain the problems and what do you think the failure reason could be. These instructions will display in the Failure Instructions column in the Recovery checkpoints view in Talend Administration Center, for more information, see Talend Administration Center User Guide.
- Save your Job before closing or running it in order for the define properties to be taken into account.
Later, and in case of failure during the execution of the designed Job, you can recover this Job execution from the latest checkpoint previous to the failure through the Error Recovery Management page in Talend Administration Center.
For more information, see the recovering job execution chapter in Talend Administration Center User Guide.