Operation flow

Updated at:

This topic uses flowcharts and descriptions to provide a clear overview of the Data Development workflow. It covers the operation flow for two scenarios: node mode and scenario mode.

Node mode operation flow

Node mode is ideal for simple data processing scenarios where compute nodes are independent and the entire flow consists of a single node.

Flowchart for creating a development node

image

Flow description

Operation

Description

Create a development node

Select a node type based on the data you need to process. Then, create a development node to process that data. For more information, see Step 1: Select a node type and configure basic properties.

Write an SQL statement

Process data by writing algorithm statements or referencing user-defined functions. For more information, see Method 1: Enter algorithm statements.

Upload a resource file

Process data by uploading a script. For more information, see Method 2: Upload a node resource file and enter the corresponding script.

Set runtime configuration parameters

Configure and manage items such as scripts, user-defined functions, node inputs, node outputs, and parameters for the compute node. This lets you process various data types, view task dependencies between workgroups in the same tenant, and set up alert reporting as needed. For more information, see Step 3: Set runtime configuration parameters.

For offline nodes

Run the development node

Run the node to verify the processing logic and data accuracy. For more information, see Step 4: Run the development node.

Set scheduling information

If an offline computing node needs to output data on a schedule, set the node's scheduling information. This ensures the data is computed periodically. For more information, see Step 5: Set scheduling information.

Publish the development node

After the development node runs successfully, publish it as a production node to provide services in the production environment. For more information, see Step 6: Publish the development node.

View log and O&M information

If the run or publication fails, view the log or O&M information to find the cause of the failure and resolve the issue. For more information, see View production node details or View O&M information for production node tasks.

Scenario mode operation flow

Scenario mode is used for complex algorithms that require a workflow of multiple orchestrated nodes within a single scenario. These nodes can include system nodes and compute nodes, such as batch and stream nodes.

Flowchart

image

Flow description

Operation

Description

Create a scenario

Create a development scenario. Then, orchestrate the node workflow, configure runtime parameters, and set scheduling parameters on the canvas to verify the data processing flow. For more information, see Step 1: Create a development scenario.

Orchestrate the scenario flow

Orchestrate the flow on the development scenario canvas. Add system nodes and compute nodes, configure their parameters, and then connect them according to your business logic. For more information, see Create, deploy, and run a development scenario.

Deploy/Run the development scenario

Deploy the orchestrated flow to the corresponding computing resources. Then, run the flow to verify its correctness. For more information, see Step 5: Deploy the development scenario and Step 6: Run the development scenario.

View O&M information

If the deployment or run fails, view the O&M information to identify the cause and fix the issue. For more information, see View O&M information for development scenarios or View O&M information for production scenarios.

Set scheduling information for offline nodes

After the development scenario runs successfully, set the scheduling information for the offline nodes. This information is used for scheduling in the production scenario. For more information, see Set scheduling information for offline nodes.

Online development scenario

Publish the development scenario to create a production scenario. For more information, see Publish a development scenario.

Deploy/Run the production scenario

After the production scenario is deployed and running, it provides online services. For more information, see Deploy and run a production scenario.