云数据库 HBase MaxCompute数据源

By | 2021年4月22日

本文档主要介绍如何添加MaxCompute数据源。

操作步骤

  1. 登录LTS操作页面,在左侧导航栏选择数据源管理>添加数据源
  2. 添加数据源页面设置如下参数。
    参数名 说明
    集群名 集群名,只支持数字与英文字母。
    数据源类型 选择MaxComputer(ODPS)
    数据源参数
    {
    "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:见参数获取。
    • accessKey:见参数获取。
    • endPoint:见参数获取。
    • project:项目名称。
    • tunnelEndPoint:见参数获取。

参数获取

  1. 登录DataWorks管理控制台
  2. 单击AccessKey管理获取accessIdaccessKeyaccessid
  3. 根据ODPS所在地域,参考如下表格获取VPC网络下EndPoint和Tunnel EndPoint。
    Region 所在城市 开服状态 VPC网络Endpoint VPC网络Tunnel Endpoint
    华东1 杭州 已开服 http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api http://dt.cn-hangzhou.maxcompute.aliyun-inc.com
    华东2 上海 已开服 http://service.cn-shanghai.maxcompute.aliyun-inc.com/api http://dt.cn-shanghai.maxcompute.aliyun-inc.com
    华北2 北京 已开服 http://service.cn-beijing.maxcompute.aliyun-inc.com/api http://dt.cn-beijing.maxcompute.aliyun-inc.com
    华北3 张家口 已开服 http://service.cn-zhangjiakou.maxcompute.aliyun-inc.com/api http://dt.cn-zhangjiakou.maxcompute.aliyun-inc.com
    华南1 深圳 已开服 http://service.cn-shenzhen.maxcompute.aliyun-inc.com/api http://dt.cn-shenzhen.maxcompute.aliyun-inc.com
    西南1 成都 已开服 http://service.cn-chengdu.maxcompute.aliyun-inc.com/api http://dt.cn-chengdu.maxcompute.aliyun-inc.com
    中国香港 香港 已开服 http://service.cn-hongkong.maxcompute.aliyun-inc.com/api http://dt.cn-hongkong.maxcompute.aliyun-inc.com
    亚太东南1 新加坡 已开服 http://service.ap-southeast-1.maxcompute.aliyun-inc.com/api http://dt.ap-southeast-1.maxcompute.aliyun-inc.com
    亚太东南2 悉尼 已开服 http://service.ap-southeast-2.maxcompute.aliyun-inc.com/api http://dt.ap-southeast-2.maxcompute.aliyun-inc.com
    亚太东南3 吉隆坡 已开服 http://service.ap-southeast-3.maxcompute.aliyun-inc.com/api http://dt.ap-southeast-3.maxcompute.aliyun-inc.com
    亚太南部1 孟买 已开服 http://service.ap-south-1.maxcompute.aliyun-inc.com/api http://dt.ap-south-1.maxcompute.aliyun-inc.com
    中东东部1 迪拜 已开服 http://service.me-east-1.maxcompute.aliyun-inc.com/api http://dt.me-east-1.maxcompute.aliyun-inc.com
    英国(伦敦) 伦敦 已开服 http://service.uk-all.maxcompute.aliyun-inc.com/api http://dt.uk-all.maxcompute.aliyun-inc.com

请关注公众号获取更多资料

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注