All Products
Search
Document Center

ApsaraDB for HBase:Access using HBase Shell

Last Updated:Apr 13, 2026

Learn how to access an ApsaraDB for HBase Standard Edition cluster using HBase Shell.

Important

HBase Shell does not support Java 11. We recommend that you use Java 8.

Procedure

  1. Prepare an Elastic Compute Service (ECS) instance.

    ApsaraDB for HBase requires connections over an internal network, so you must use an ECS instance located in the same region as your cluster.

    1. If you already have an ECS instance, continue to the next step.

    2. If you do not have an ECS instance, purchase a pay-as-you-go instance for testing.

  2. Download HBase Shell.

    Log on to ApsaraDB for HBase console. The download path is Database Connection > Connection Information > HBase Shell Download.

  3. Extract the package.

     tar -zxf xxx.tar.gz
  4. Modify the conf/hbase-site.xml file to add the ZooKeeper addresses for your cluster.

    <configuration>
         <property>
             <name>hbase.zookeeper.quorum</name>
             <value>$ZK_IP1,$ZK_IP2,$ZK_IP3</value>
         <property>
    <configuration>
  5. Access the cluster.

    Run the following command.

     bin/hbase shell