Offline workflow properties
Prerequisites
To use offline workflows, you must first purchase the unstructured data feature for the current instance.
Workflow properties
In the top navigation bar of the Dataphin homepage, choose Develop > Data Development.
On the Develop page, choose a Project from the top navigation bar.
In the left-side navigation pane, choose Data Processing > Workflow. In the workflow list, click the target offline workflow, then click Properties in the right-side pane.
Configure Basic information, scheduling settings, scheduling dependencies, runtime parameters, and runtime configurations for the current offline workflow. The process is the same as for an offline compute task.
In the Runtime configurations of an offline workflow, you can also configure Operator processing exceptions. You can select Ignore exceptional data and continue or Terminate the task upon an exception.
Ignore exceptional data and continue: If an operator throws an exception, the workflow skips the data and continues to run.
Terminate the task upon an exception: If an operator throws an exception, the workflow terminates immediately.
Resource configuration
To prevent out of memory (OOM) errors during runtime, you can configure the resource group, CPU, and memory for the workflow. When you submit the workflow, the system performs a resource check. If the resources requested by the workflow exceed the maximum resource quota of the selected resource group, the workflow submission fails.
In the top navigation bar of the Dataphin homepage, choose Develop > Data Development.
On the Develop page, choose a Project from the top navigation bar.
In the left-side navigation pane, choose Data Processing > Workflow. In the workflow list, click the target offline workflow, then click Properties in the right-side pane.
In the Resource configurations section, configure the resource group, CPU, and memory.
Resource group:
Task scheduling consumes scheduling resources at runtime. You can specify a scheduling resource group for the instances generated by each task. When an instance is scheduled, it consumes the resource quota of the specified resource group. If the specified resource group has insufficient available resources, the instance enters the Waiting for scheduling resources state. Resource isolation across different resource groups ensures scheduling stability.
You can select only a scheduling resource group that has the Daily Task Scheduling use case and is associated with the current task's Project. For more information, see Configure a resource group.
If you select the default resource group, its settings automatically update to reflect changes in the group's configuration.
CPU/memory: The maximum resources you can configure for a single offline workflow are 4 cores and 8,192 MB (8 GB).
After you complete the configuration, click OK.