All Products
Search
Document Center

Dataphin:Create a Lindorm (compute engine) data source

Last Updated:May 28, 2025

By creating a Lindorm (compute engine) data source, you can enable Dataphin to read business data from or write data to Lindorm (compute engine). This topic describes how to create a Lindorm (compute engine) data source.

Background information

Lindorm (compute engine) is a self-developed database launched by Alibaba Cloud. It provides multiple data models such as wide table, time series, file, and search. It supports millisecond-level online data processing, low-cost storage, and analysis of massive data.

Permission requirements

Only custom global roles with the Create Data Source permission and system roles such as super administrator, data source administrator, domain architect, and project administrator can create data sources.

Procedure

  1. On the Dataphin homepage, click Management Hub > Datasource Management in the top navigation bar.

  2. On the Datasource page, click +Create Data Source.

  3. On the Create Data Source page, select Lindorm (compute Engine) in the Big Data section.

    If you have recently used Lindorm (compute engine), you can also select it from the Recently Used section. You can also enter keywords in the search box to quickly filter Lindorm (compute engine).

  4. On the Create Lindorm (compute Engine) Data Source page, configure the connection parameters.

    1. Configure the basic information of the data source.

      Parameter

      Description

      Datasource Name

      Enter a name for the data source. The name must meet the following requirements:

      • It can contain only Chinese characters, letters, digits, underscores (_), and hyphens (-).

      • The name can be up to 64 characters in length.

      Datasource Code

      After you configure the data source code, you can access Dataphin data source tables in Flink_SQL tasks or by using the Dataphin JDBC client in the format of data source code.table name or data source code.schema.table name for quick consumption. If you need to automatically switch data sources based on the task execution environment, you can access them using the variable format ${data source code}.table or ${data source code}.schema.table. For more information, see Development method for Dataphin data source tables.

      Important
      • The data source code cannot be modified after it is configured successfully.

      • After the data source code is configured successfully, you can preview data on the object details page in the asset directory and asset inventory.

      • In Flink SQL, only MySQL, Hologres, MaxCompute, Oracle, StarRocks, Hive, and SelectDB data sources are currently supported.

      Data Source Description

      Enter a brief description of the data source. The description cannot exceed 128 characters.

      Data Source Configuration

      Select the data source that you want to configure:

      • If your business data source distinguishes between production and development data sources, select Production + Development Data Source.

      • If your business data source does not distinguish between production and development data sources, select Production Data Source.

      Tag

      You can categorize and tag data sources based on tags. For information about how to create tags, see Manage data source tags.

    2. Configure the connection parameters between the data source and Dataphin.

      If you selected Production + Development Data Source for Data Source Configuration, you need to configure the connection information for both Production + Development Data Source. If you selected Production Data Source, you only need to configure the connection information for the Production Data Source.

      Note

      Typically, production and development data sources should be configured as separate data sources to achieve environment isolation and reduce the impact of development data sources on production data sources. However, Dataphin also supports configuring them as the same data source with identical parameter values.

      Parameter

      Description

      core-site.xml

      Upload the core-site.xml configuration file for Lindorm (compute engine).

      hdfs-site.xml

      Upload the hdfs-site.xml configuration file for Lindorm (compute engine).

      hive-site.xml

      Upload the hive-site.xml configuration file for Lindorm (compute engine).

      JDBC URL

      Enter the JDBC URL for Lindorm (compute engine). The format is jdbc:hive2://host:port/;?token=xxx.

  5. Select a Default Resource Group, which is used to run tasks related to the current data source, including database SQL, offline database migration, and data preview.

  6. Click Test Connection or directly click OK to save and complete the creation of the Lindorm (compute engine) data source.

    When you click Test Connection, the system tests whether the data source can connect to Dataphin normally. If you directly click OK, the system automatically tests the connection for all selected clusters. However, even if all selected clusters fail the connection test, the data source can still be created normally.