Computing task runtime configuration
Configure task-level runtime timeout and rerun policies for offline computing tasks to prevent resource waste from long-running tasks and improve task execution reliability.
Procedure
-
In the top navigation bar of the Dataphin homepage, choose Development > Data Development.
-
On the Development page, select a Project from the top navigation bar (In Dev-Prod mode, you need to select an Environment).
-
In the left-side navigation pane, choose Data Processing > Script Task.
-
In the computing task list, click the target computing task to open its tab.
-
Click Property in the right sidebar to open the Property panel, and configure the following parameters in the Runtime Configuration section.
Parameter
Description
Runtime Timeout
If a single run exceeds the set threshold without completion, the task will be automatically terminated and marked as failed.
-
System Configuration: Uses the system default, based on the Recurring Task parameter in the tenant-level runtime configuration under the O&M module. For more information, see Runtime Configuration.
-
Custom: You can enter a number between 0 and 168 with up to 2 decimal places.
Auto Rerun After Timeout
Specifies whether to automatically rerun recurring instances or data backfill instances that are terminated and marked as failed after a timeout.
-
System Configuration: Uses the system default, which follows the tenant-level auto rerun setting.
-
No Auto Rerun: When the current tenant has not enabled auto rerun after timeout in O&M > Global Configuration > Rerun Configuration, this displays as System Configuration: No Auto Rerun.
-
Auto Rerun: When the current tenant has enabled auto rerun after timeout in O&M > Global Configuration > Rerun Configuration, this displays as System Configuration: Auto Configuration.
-
-
Enable: Overrides the tenant configuration. When an instance times out, is terminated, and is marked as failed, it is automatically rerun.
-
Disable: Overrides the tenant configuration. When an instance times out, is terminated, and is marked as failed, it is not automatically rerun.
Auto Rerun After Failure
Specifies whether to automatically rerun failed task instances or data backfill instances.
-
System Configuration: Uses the system default, based on the Auto Rerun After Failure parameter in the tenant-level runtime configuration under the O&M module. For more information, see: Runtime Configuration.
-
Custom: The rerun count supports integers between 0 and 10, and the rerun interval supports integers between 1 and 60.
-
-
Click OK to complete the computing task runtime configuration.