This topic describes how to add MaxCompute data sources.

Procedure

  1. Log on to the LTS(Old BDS) console. In the left-side navigation pane, choose Data Source Management > Add Data Source.
  2. On the Add data source page, configure the following parameters.
    Parameter Description
    Name The name of the cluster. The name can contain only digits and letters.
    Data Source Type Select MaxCompute(ODPS).
    Parameters
    {
    "accessId":"xaccessId",
    "accessKey":xaccessKey",
    "endPoint":"http://service.cn-shanghai.maxcomputr.aliyun.com/api",
    "project":"bds_pro",
    "tunneiEndPoint":"http://dt.cn-shanghai.maxcompute.aliyun.com"
    }
    • accessId: For more information, see Parameters.
    • accessKey: For more information, see Parameters.
    • endPoint: For more information, see Parameters.
    • project: the name of the project.
    • tunnelEndPoint: For more information, see Parameters.

Parameters

  1. Log on to the DataWorks console.
  2. Click AccessKey Management to obtain accessId and accessKey.accessKey
  3. Obtain the VPC endpoints of MaxCompute and MaxCompute Tunnel based on the region where your MaxCompute project resides. For more information, see the following table.
    Region City Status MaxCompute endpoint MaxCompute Tunnel endpoint
    China (Hangzhou) Hangzhou Available http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api http://dt.cn-hangzhou.maxcompute.aliyun-inc.com
    China (Shanghai) China (Shanghai) Available http://service.cn-shanghai.maxcompute.aliyun-inc.com/api http://dt.cn-shanghai.maxcompute.aliyun-inc.com
    China (Beijing) China (Beijing) Available http://service.cn-beijing.maxcompute.aliyun-inc.com/api http://dt.cn-beijing.maxcompute.aliyun-inc.com
    China (Zhangjiakou) Zhangjiakou Available http://service.cn-zhangjiakou.maxcompute.aliyun-inc.com/api http://dt.cn-zhangjiakou.maxcompute.aliyun-inc.com
    China (Shenzhen) China (Shenzhen) Available http://service.cn-shenzhen.maxcompute.aliyun-inc.com/api http://dt.cn-shenzhen.maxcompute.aliyun-inc.com
    China (Chengdu) Chengdu Available http://service.cn-chengdu.maxcompute.aliyun-inc.com/api http://dt.cn-chengdu.maxcompute.aliyun-inc.com
    China (Hong Kong) Hong Kong (China) Available http://service.cn-hongkong.maxcompute.aliyun-inc.com/api http://dt.cn-hongkong.maxcompute.aliyun-inc.com
    Singapore (Singapore) Singapore Available http://service.ap-southeast-1.maxcompute.aliyun-inc.com/api http://dt.ap-southeast-1.maxcompute.aliyun-inc.com
    Australia (Sydney) Sydney Available http://service.ap-southeast-2.maxcompute.aliyun-inc.com/api http://dt.ap-southeast-2.maxcompute.aliyun-inc.com
    Malaysia (Kuala Lumpur) Kuala Lumpur Available http://service.ap-southeast-3.maxcompute.aliyun-inc.com/api http://dt.ap-southeast-3.maxcompute.aliyun-inc.com
    India (Mumbai) Mumbai Available http://service.ap-south-1.maxcompute.aliyun-inc.com/api http://dt.ap-south-1.maxcompute.aliyun-inc.com
    UAE (Dubai) Dubai Available http://service.me-east-1.maxcompute.aliyun-inc.com/api http://dt.me-east-1.maxcompute.aliyun-inc.com
    UK (London) London Available http://service.uk-all.maxcompute.aliyun-inc.com/api http://dt.uk-all.maxcompute.aliyun-inc.com