Full import from AWS S3

Updated at:

This topic describes how to perform a full import of data from AWS S3 to Lindorm.

Prerequisites

  • You have added an S3 data source. For more information, see Add an S3 data source.

  • You have obtained the access credentials for AWS S3, and the credentials have read and write permissions on the target bucket.

Procedure

  1. Log on to the Lindorm console.

  2. In the upper-left corner of the page, select the region where the instance is deployed.

  3. On the Instances page, click the ID of the target instance or click View Instance Details in the Actions column for the instance.

  4. In the left-side navigation pane, click Instance Details. In the UI Access section, click LTS to go to the Cluster Management UI.

    Important

    If you are using LTS for the first time, reset the password and add your client IP address to the network whitelist.

  5. In the left-side navigation pane, choose Import Lindorm/HBase > General Import.

  6. On the Bulkload page, click Create Task.

  7. Configure the following parameters as required:

    Parameter Configuration

    Parameter Name

    Description

    Select Data Source
    Source Data Source

    The configured S3 data source.

    Destination Data Source

    The Lindorm instance to which the data is imported.

    File Type (Optional)
    • CSV: Suitable for text data and general scenarios.

    • Parquet: Suitable for big data analytics scenarios with columnar storage.

    • ORC: Suitable for high-performance query scenarios.

    Balanced Partitioning (Optional)

    Enable partition balancing in the following scenarios: 1. A job is slow due to data skew or uneven data distribution. 2. Data is imported into the target table for the first time. After partition balancing is complete, disable this feature. When partition balancing is enabled, the system first runs a partition balancing job, which randomly samples a percentage of the original data as specified by the input and imports the sampled data into the target table to balance Lindorm partitions. Then the full import job starts.

    Plugin Configuration

    Reader Configuration

    Establishes a connection to the source data source and extracts data according to the configured rules.

    Writer Configuration

    Establishes a connection to the destination data source, receives data, and writes data according to the configured policy.

    Job Runtime Parameter Configuration

    Number of Executors

    The maximum concurrency of the job.

    Spark Configuration

    Used to optimize the performance of Spark jobs. Leave this parameter empty by default.

    Spark UDF

    Used to optimize the performance of Spark jobs. Leave this parameter empty by default.

  8. Click Create.