检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
表4 ClusterDetail 参数 参数类型 描述 action_progress ActionProgress object 集群操作进度,任务信息,由key、value组成。key值为正在进行的任务,value值为正在进行任务的进度。
identity": { "methods": [ "password" ], "password": { "user": { "name": "username", "password": "********", "domain
public class Main { private static String URL = "jdbc:mysql:loadbalance://" + "[FE1_host]:[FE1_port],[FE2_host]:[FE2_port],[FE3_host
- X-Language 请求语言,支持配置如下值: zh-cn:中文 en-us:英文 是 en-us X-Domain-Id 账号ID。
resultSet.getCount(); LOG.info("the entity count of query is " + count); } catch (IOException e) { LOG.error("testCountOnlyQuery failed
"); } else { LOG.warn("table already exists"); } } catch (IOException e) { LOG.error("Create table failed.
table.put(puts); LOG.info("Put successfully."); } catch (IOException e) { LOG.error("Put failed " ,e); } finally { if (table
代码样例 下面代码片段在com.huawei.cloudtable.lemonIndex.examples.LemonIndexTestMain包中。
用户创建集群前,必须配置所使用主机的入方向安全组规则,请参考安全组规则配置章节。 用户创建集群前安全组规则必须添加ICMP协议,方便管理面通过ping方式查看各节点状态,请参考安全组规则配置章节。 步骤 登录表格存储服务管理控制台。 单击管理控制台左上角的,选择区域。
"); } else { LOG.warn("table already exists"); } } catch (IOException e) { LOG.error("Create table failed.
"); } catch (IOException e) { LOG.error("Put failed ", e); } LOG.info("Exiting testPut."); } 父主题: 样例代码说明
表5 Instance 参数 是否必选 参数类型 描述 availability_zone 是 String 集群所在可用区的ID。 cu_num 是 Integer CloudTable集群计算单元节点数目,至少为2。
12005000205 E Female 21 Shangrao, Jiangxi 12005000206 F Male 32 Zhuzhou, Hunan 12005000207 G Female 29 Nanyang, Henan 12005000208 H Female 30 Kaixian
default_cluster(Year UInt16,Quarter UInt8,Month UInt8,DayofMonth UInt8,DayOfWeek UInt8,FlightDate Date,FlightNum String,Div5WheelsOff String,Div5TailNum
“Main Class”选择“com.xxx.clickhouse.examples.Demo”,单击OK。 选择“Build> Build Artifacts”。
用户创建集群前,必须配置所使用主机的入方向安全组规则,请参考安全组规则配置章节。 用户创建集群前安全组规则必须添加ICMP协议,方便管理面通过ping方式查看各节点状态,请参考安全组规则配置章节。 步骤 登录表格存储服务管理控制台。 单击管理控制台左上角的,选择区域。
curl -X POST -H 'Content-Type: text/plain' --cacert {path}/certificate.crt -uadmin https://host:port/api/query_schema/internal/test_db -d@1.sql
${i_cp} ${SECURE} com.huawei.cloudtable.hbase.examples.TestMain 切换到“/opt/test”,执行以下命令,运行Jar包。
availability_zone String 集群所属的可用区。 表4 Datastore 参数 参数类型 描述 version String controller版本号,默认1.0.6。 type String 集群数据库类型。 请求示例 查询集群详情 URL示例。
static final Log LOG = LogFactory.getLog(DataCopyer.class); private static int batchSize; private static int threads; public static void main