1. Download the HBase TAR file. You can use one of the following methods to retrieve a TAR file:

  • Method 1: Download the TAR file. This file includes all required enhanced dependencies. Click here to download and decompress the file. We recommend that you use this TAR file to retrieve all features of ApsaraDB for HBase Performance-enhanced Edition.
  • Method 2: Download the TAR file from the HBase official website and decompress the TAR file to the lib directory. Then copy the JAR file of alihbase-connector to the same directory. For more information, see Install the SDK for Java.

2. Retrieve the Virtual Private Cloud (VPC) endpoint or the public endpoint for HBase Shell. For more information, see Connect to a cluster. You can refer to ‘The endpoint used by Java API’ section of the topic.


Add the following configuration to the hbase-site.xml file in the conf/ directory of the decompressed TAR file:

  1. <configuration>
  2. <!— The public endpoint or VPC internal endpoint used to connect the cluster. You can retrieve the endpoint on the Database Connection page in the console. —>
  3. <property>
  4. <name>hbase.zookeeper.quorum</name>
  5. <value>ld-xxxx-proxy-hbaseue.hbaseue.xxx.rds.aliyuncs.com:30020</value>
  6. </property>
  7. <!— The default values for both the username and password parameters are root. You can change the username and password as needed. —>
  8. <property>
  9. <name>hbase.client.username</name>
  10. <value>root</value>
  11. </property>
  12. <property>
  13. <name>hbase.client.password</name>
  14. <value>root</value>
  15. </property>
  16. </configuration>

Use HBase Shell

Run the following command in the bin/ directory.

  1. ./hbase shell

Now, you can run the native HBase Shell commands to connect to ApsaraDB for HBase Performance-enhanced Edition. By default, the logs are stored in the logs directory of the decompressed TAR file. For more information about how to use HBase Shell, see HBase Shell. If you use HBase Shell to connect to ApsaraDB for HBase Performance-enhanced Edition, you can manage tables and data by using some simple Data Definition Language (DDL) and Data Manipulation Language (DML) statements. The cluster management commands such as BALANCE and MOVE are disabled. For more information, see Limits.

  1. </article>
  2. </main>