You need to enable JavaScript to run this app.
E-MapReduce

E-MapReduce

Copy page
Download PDF
Advanced usage
StarRocks access TOS
Copy page
Download PDF
StarRocks access TOS

StarRocks supports accessing table data stored on Volcano Engine TOS.

Prerequisites

You must first create a Volcano Engine E-MapReduce (EMR) StarRocks cluster version 3.6.0 or later.

Example 1: Create a catalog

Specify the storage address of TOS by creating a catalog.

  • The example is as follows:

    -- Create Hive catalog
    CREATE EXTERNAL CATALOG hive
    PROPERTIES
    (
        "type" = "hive",
        "hive.metastore.uris" = ${HiveMetaStore的地址},
        "aws.s3.access_key" = ${access_key},
        "aws.s3.secret_key" = ${secret_key},
        "aws.s3.endpoint" = ${endpoint},
        "aws.s3.enable_ssl" = "false"
    );
    
  • Note:

    Parameter

    Note

    HiveMetaStore

    The address of Hive MetaStore in the cluster. Example: thrift://192.168.10.64:9083

    access_key/secret_key

    The Access Key ID and Secret Access Key of the Volcano Engine account.
    You can obtain the Access Key ID and Secret Access Key from the IAM Access Control > Key Management interface. For details, see: Access keys.

    endpoint

    The Endpoint address in the Volcano Engine TOS service. For details, see: Regions and access domain names (Endpoint).

Last updated: 2026.06.01 16:35:36