All Products
Search
Document Center

ApsaraDB for HBase:Add a MaxCompute data source

Last Updated:Nov 13, 2024

This topic describes how to add a MaxCompute data source.

Procedure

  1. Log on to the Lindorm Tunnel Service (LTS) console.

  2. In the left-side navigation pane, choose Data source management > Add data source.

  3. On the Add data source page, configure the following parameters.

    Parameter

    Description

    Name

    The name of the ApsaraDB for HBase cluster to which you want to add the data source. The cluster name can contain only digits and letters.

    Data Source Type

    Select MaxCompute.

    Parameters

    {
    "accessId":"xaccessId",
    "accessKey":xaccessKey",
    "endPoint":"http://service.cn-shanghai.maxcompute.aliyun.com/api",
    "project":"bds_pro",
    "tunnelEndPoint":"http://dt.cn-shanghai.maxcompute.aliyun.com"
    }
    • accessId: the AccessKey ID that you obtained in the console.

    • accessKey: the AccessKey secret that you obtained in the console.

    • endPoint: the endpoint of MaxCompute.

    • project: the name of your MaxCompute project.

    • tunnelEndPoint: the endpoint of the Tunnel service.

    Note

    For more information about how to obtain the AccessKey ID, AccessKey secret, and endpoints, see the Obtain the AccessKey pair and the endpoints section of this topic.

Obtain the AccessKey pair and the endpoints

Obtain the AccessKey pair

Important

The AccessKey secret of a RAM user is displayed only after you click Create AccessKey. You cannot query the AccessKey secret in subsequent operations. This helps reduce the risks of AccessKey pair leaks. We recommend that you create a new AccessKey pair and record the AccessKey pair.

For more information about how to create an AccessKey pair, see Create an AccessKey pair.

Obtain the endpoints

You can obtain the endpoints of the MaxCompute and Tunnel services in a virtual private cloud (VPC) based on the region where your MaxCompute project resides. The following table describes the endpoints in different regions.

Region

City

Service availability

MaxCompute endpoint

Tunnel endpoint

China (Hangzhou)

Hangzhou

Yes

http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api

http://dt.cn-hangzhou.maxcompute.aliyun-inc.com

China (Shanghai)

Shanghai

Yes

http://service.cn-shanghai.maxcompute.aliyun-inc.com/api

http://dt.cn-shanghai.maxcompute.aliyun-inc.com

China (Beijing)

Beijing

Yes

http://service.cn-beijing.maxcompute.aliyun-inc.com/api

http://dt.cn-beijing.maxcompute.aliyun-inc.com

China (Zhangjiakou)

Zhangjiakou

Yes

http://service.cn-zhangjiakou.maxcompute.aliyun-inc.com/api

http://dt.cn-zhangjiakou.maxcompute.aliyun-inc.com

China (Shenzhen)

Shenzhen

Yes

http://service.cn-shenzhen.maxcompute.aliyun-inc.com/api

http://dt.cn-shenzhen.maxcompute.aliyun-inc.com

China (Chengdu)

Chengdu

Yes

http://service.cn-chengdu.maxcompute.aliyun-inc.com/api

http://dt.cn-chengdu.maxcompute.aliyun-inc.com

China (Hong Kong)

Hong Kong

Yes

http://service.cn-hongkong.maxcompute.aliyun-inc.com/api

http://dt.cn-hongkong.maxcompute.aliyun-inc.com

Singapore

Singapore

Yes

http://service.ap-southeast-1.maxcompute.aliyun-inc.com/api

http://dt.ap-southeast-1.maxcompute.aliyun-inc.com

Malaysia (Kuala Lumpur)

Kuala Lumpur

Yes

http://service.ap-southeast-3.maxcompute.aliyun-inc.com/api

http://dt.ap-southeast-3.maxcompute.aliyun-inc.com

UAE (Dubai)

Dubai

Yes

http://service.me-east-1.maxcompute.aliyun-inc.com/api

http://dt.me-east-1.maxcompute.aliyun-inc.com

UK (London)

London

Yes

http://service.uk-all.maxcompute.aliyun-inc.com/api

http://dt.uk-all.maxcompute.aliyun-inc.com