Manage integration and compute task instances
A recurring integration and compute task generates an instance when it runs at its scheduled time. You can perform various O&M operations on these instances, such as viewing the run log, rerunning the instance, forcing a rerun of the current instance or its upstream and downstream instances, and viewing the node code. This topic describes how to view and manage these instances.
Prerequisites
You can view the Gantt chart only after purchasing the Intelligent O&M value-added service and enabling the Intelligent O&M module for your tenant.
Access the instance page
-
On the Dataphin homepage, go to Dev > Task O&M in the top navigation bar.
-
In the left-side navigation pane, choose Instance O&M > Recurring Instances.
-
In the top navigation bar, select the production environment or development environment.
-
On the Recurring Instances page, click the Integration and Compute Tasks tab.
Operations in the instance list
After a recurring integration and compute task generates an instance, the instance appears in the list on the Recurring Instances > Integration and Compute Tasks tab. The list displays the following information: Instance Object, Instance ID, directory, running status, scheduling cycle, business date, scheduled time, start time, end time, duration, retry count, priority, O&M engineer, project, related baseline instance, HTTP path, scheduling resource group, tag, and available operations.
-
Instance Object: A recurring task generates an instance object when it runs. This column displays the name and ID of the instance object and indicates the task's scheduling method. You can click the
icon next to the column name to sort by object name in ascending or descending order. For more information, see Recurring instance icons and . -
Directory: A snapshot of the task's directory at the time the instance was generated. This information is not updated if the task directory changes. The directory is shown only for instances generated after you upgrade to Dataphin V6.2. If you try to perform operations on an instance in a directory for which you do not have permissions, the system returns an error.
-
Running status: The current running status of the instance, including: Succeeded, Failed, Running, Waiting for scheduling time, Throttled, Waiting for scheduling resources, and Not Run. For more information about each status, see Recurring instance statuses.
-
Start time: The time when the instance started running. Click the
icon next to the column name to sort by start time in ascending or descending order.NoteFor a logical table node, the start time is the start time of the earliest internal materialized node.
-
End time: The time when the instance finished running. Click the
icon next to the column name to sort by end time in ascending or descending order.NoteFor a logical table node, the end time is the end time of the latest internal materialized node.
-
Retry count/Auto retry count: The number of manual and automatic retries for the instance. The formula is
retry count = number of runs - 1. -
Duration: The total time from when the instance started to when it finished. Click the
icon next to the column name to sort by duration in ascending or descending order.NoteFor a logical table node, the duration is the time difference between the start time of the earliest internal materialized node and the end time of the latest internal materialized node.
-
Priority: The priority level of the instance.
NoteIf you enable the baseline feature, the highest priority among all associated baselines determines the task's priority, overriding the originally configured task priority.
-
Project: The project to which the task belongs, displayed in the format
Project_English_Name (Project_Chinese_Name). -
Related baseline instance: The baseline that ensures this instance runs as a leaf node, and any related baselines that include this instance as an upstream node.
NoteThis field is not displayed if the baseline feature is not enabled.
-
HTTP path: Displays the production or development environment HTTP path for Databricks SQL instances, depending on the selected environment.
NoteThis field is displayed only for Databricks SQL instances. For other task types, it shows -.
-
Scheduling resource group: The name of the scheduling resource group used to run the instance.
If the custom resource group specified for the task is unavailable, the system uses the project's default resource group instead. If the project's default resource group is also unavailable, the system uses the tenant's default resource group. The priority is: custom resource group > project default resource group > tenant default resource group.
NoteWhen you change the project's default resource group, the change may not be reflected here immediately. However, the actual execution uses the updated resource group.
Tenant default resource group: This resource group does not belong to any project. Each tenant has only one default resource group. The system uses this resource group for scheduling if you do not specify a custom resource group for the task and no default resource group is specified for the project. This applies only to tasks that use dedicated resources, such as SQL and Virtual tasks.
The following table describes the operations available for integration and compute task instances.
|
Actions |
Description |
|
DAG |
Click the |
|
View run log |
Click the |
|
Rerun |
Click the If your business scenario requires a rerun without this check, you can force a rerun. |
|
View Gantt chart |
Click the
For more information about Gantt charts, see View the critical path Gantt chart. |
|
Download upstream and downstream nodes |
Downloads a list of the upstream and downstream nodes for the current node. The list includes all columns, even those not displayed in the UI. Click Download Upstream and Downstream Nodes. In the Download Upstream and Downstream Nodes dialog box, select the levels for the upstream and downstream nodes. You can select from Level 1~Level 10 or Unlimited levels. The default is Level 1 for both. After selecting the levels, click OK to download the Excel file. The file is named |
|
View node code |
Click the Logical code: The task code that you wrote. Physical code: The compiled code that can run on the Flink engine. |
|
Recurring task |
Click the |
|
Edit development node |
Click the Note
This operation is available only for integration and compute task instances in Dev-Prod mode project spaces. |
|
View production node |
Click the Note
This operation is available only for integration and compute task instances in Dev-Prod mode project spaces. |
|
Edit node |
Click the Note
This operation is available only for integration and compute task instances in Basic mode project spaces. |
|
Rerun upstream and downstream instances |
Click the To rerun the entire chain, consider using Force Rerun Upstream and Downstream Instances. For details, see Force rerun upstream and downstream instances. This operation is often used in the following scenarios:
|
|
Set to success and continue scheduling |
Click the |
|
Terminate |
Click the Note
You cannot terminate instances with a Succeeded, Failed, or Not Run status. Instances in any other status can be terminated. This operation is often used in the following scenarios:
|
|
Force rerun |
Click the
Important
A force rerun does not check if all upstream nodes have succeeded or if the instance has reached its scheduled time. This carries a risk of run failures or data quality issues. Confirm that there will be no impact on downstream data before proceeding. |
|
Remove upstream dependencies |
Click the Important
You must retain at least one upstream instance. |
|
Pause |
Click the Note
|
|
Resume |
Click the |
|
Modify HTTP path |
This operation modifies the production environment HTTP path for the corresponding task. You can select any HTTP path configured for the cluster associated with the production project. Note
This operation is available only for Databricks SQL tasks in the production environment. |
|
Modify scheduling resource group |
Click the Note
|
|
Modify priority |
Click the |
Operations on DAG nodes
The DAG provides a clear visualization of the dependency relationships between instance nodes. You can also manage upstream and downstream instance nodes. By default, the DAG displays the Main node (the selected node) and its first-level upstream and downstream nodes. You can select an integration and compute task instance node to perform the related operations.
Dataphin supports managing instance nodes across different projects. To perform O&M operations on a cross-project instance node, you must have view and operation permissions for the project that contains the instance.
-
Supported operations in the DAG view
Actions
Description
Expand parent nodes
Expands different levels of dependent nodes for the Main node in the DAG.
Expand child nodes
View task
Navigates to the DAG of the task node that generated the current instance node. You can view task node details, upstream and downstream node information, and manage the task node. For more information, see Recurring tasks.
View operation logs
View the log of operations performed on this instance.
-
Supported operations on a DAG node
Hover over a DAG node to view its name, type, scheduling cycle, O&M engineer, and description. An integration and compute task instance node in the DAG has the same operations available as in the instance list. For more information, see Operations in the instance list.
Bulk operations
The following table describes the supported bulk operations for recurring integration and compute task instances:
|
Actions |
Description |
|
Rerun |
|
|
Terminate |
|
|
Set to success and continue scheduling |
After selecting multiple instances, you can manually set the status of all instances that are Failed or Not Run to Succeeded, allowing them to proceed with scheduling. |
|
Pause |
Supports bulk pausing of instances in any running status.
|
|
Resume |
This operation resumes multiple Paused recurring instances at once. |
|
Modify HTTP path |
You can modify the production environment HTTP path for multiple Databricks SQL instances. If the selected instances belong to different Databricks clusters, you must specify an HTTP path for each cluster separately. You can choose from any HTTP path configured for the respective cluster. Note
This operation is available only when you select Databricks SQL instances in the production environment. |
|
Modify scheduling resource group |
You can modify the scheduling resource group used to run the instances. Note
|
|
Modify priority |
This operation modifies the priority of multiple selected instances at once. You can select Highest, High, Medium, Low, or Lowest. |
|
Download all |
Downloads data for all recurring instances, including both integration and compute task instances and modeling task instances. After you click this option, the system submits a download task and generates the file asynchronously in the background. The file is automatically downloaded to your local computer when ready. The file is an XLSX file and is named The table includes the following information: Instance Object, Instance ID, running status, scheduling cycle, business date, priority, O&M engineer, project (for summary logical tables with multiple projects, project names are separated by commas), scheduled time, start time, end time, duration, retry count, related baseline instance (names of baselines associated with the instance, separated by commas), and scheduling resource group (this parameter is empty for modeling task instances). |
Rerun upstream and downstream instances
-
In the Rerun Upstream and Downstream Instances dialog box, configure the following parameters.
NoteYou can only rerun instances with a Succeeded or Failed status. After you confirm the operation, the selected instances are first reset to the Not Run status and then rerun according to their dependencies.
Instances with a Waiting or Running status cannot be rerun, which may cause data inconsistencies. If you need to rerun the entire dependency chain, consider using Force Rerun Upstream and Downstream Instances. For details, see Force rerun upstream and downstream instances.
Parameter
Description
Start node run mode
Defines how the start node runs. You can choose from the following options:
-
dry run: The instance status shows Succeeded (normal scheduling), but the run log is empty, there is no duration, and no data is actually processed.
-
Normal run: The instance is scheduled and runs normally.
Upstream and downstream rerun scope
Select the scope of instances to rerun.
-
All Failed Instances: The system automatically selects all upstream and downstream instances with a Failed status for rerun. A specific list of nodes is not displayed.
-
Custom: Specify the upstream and downstream instances to rerun. If you select this option, you must configure the Custom rerun scope.
Custom rerun scope
Select the direction of nodes to rerun. You can select multiple options. This is configurable only when Upstream and downstream rerun scope is set to Custom. You must specify at least one instance in the selected direction.
-
Upstream instances: If selected, the Upstream Node List is displayed, allowing you to specify the upstream instances to rerun.
-
Downstream instances: If selected, the Downstream Node List is displayed, allowing you to specify the downstream instances to rerun.
In the upstream and downstream node lists, you can search by node name or ID, and filter by running status, O&M engineer, project, or level.
-
-
Click OK.
-
After the operation, the data for the selected upstream and downstream instance nodes is updated.
Force rerun upstream and downstream instances
-
In the Force Rerun Upstream and Downstream Instances dialog box, configure the rerun parameters.
Parameter
Description
Start node run mode
Defines how the start node runs. You can choose from the following options:
-
dry run: The instance status shows Succeeded (normal scheduling), but the run log is empty, there is no duration, and no data is actually processed.
-
Normal run: The instance is scheduled and runs normally.
Upstream and downstream force rerun scope
Select the scope of instances to forcibly rerun.
-
All instances: Selects all upstream and downstream instance nodes of the start node for a force rerun. A specific list of nodes is not displayed.
-
Custom: Specify the upstream and downstream instances to forcibly rerun. If you select this option, you must configure the Custom rerun scope.
Custom rerun scope
Select the direction of nodes to forcibly rerun. You can select multiple options. This is configurable only when Upstream and downstream force rerun scope is set to Custom. You must specify at least one instance in the selected direction.
-
Upstream instances: If selected, the Upstream Node List is displayed, allowing you to specify the upstream instances to forcibly rerun.
-
Downstream instances: If selected, the Downstream Node List is displayed, allowing you to specify the downstream instances to forcibly rerun.
In the upstream and downstream node lists, if you select the failed run filter, the system selects all failed instances that match the filter criteria. The default level is 1, which shows only directly adjacent upstream instances. Adjust the level to expand the scope. You can also search by node name or ID and filter by running status, O&M engineer, project, and level.
Note-
A force rerun does not check the status of upstream nodes. You can forcibly rerun instances in any running status.
-
After you confirm the operation, the system first resets the selected instances to the Not Run status and then forcibly reruns them according to their dependencies.
-
A full force rerun can consume significant resources and affect other running instances.
-
-
Click OK to complete the setup.