Parameter Configuration

  1. Before executing sample code, configure the correct ZooKeeper cluster address in the hbase-site.xml configuration file.

    The configuration items are as follows:

    <property>
    <name>hbase.zookeeper.quorum</name>
    <value>xxx-zk1.cloudtable.com,xxx-zk2.cloudtable.com,xxx-zk3.cloudtable.com</value>
    </property>

    value is the domain name of the ZooKeeper cluster. Log in to the CloudTable management console and choose Cluster Mode. In the cluster list, locate the required cluster and obtain its ZK link in the ZK Link column.