All Products
Search
Document Center

E-MapReduce:HBase-HDFS

Last Updated:Dec 02, 2025

The HBASE-HDFS service provides persistent and highly reliable storage for HBase logs by storing the WAL files on HDFS.

HBase-HDFS

HDFS is a core component of the Hadoop ecosystem that provides reliable, distributed file storage. The HBase-HDFS service uses HDFS as its underlying data storage solution, inheriting all the native features of HDFS without modifying the basic architecture. For more information about HDFS, see HDFS overview.

The HBase-HDFS service is automatically deployed in the following cases:

  • Create a cluster

    • Create a cluster in the console: If you select the OSS-HDFS and HBase services and the HBase Log Storage check box, the HBase-HDFS service is automatically deployed after the cluster is created.

      image.png

    • Create a cluster using OpenAPI: Call the CreateCluster or RunCluster operation to create a cluster, and add the required configurations to the Application and ApplicationConfig parameters.

      The following code provides an example of the configurations. Set the parameters as needed.

      Application = ["HBASE", "OSS-HDFS", "HBASE-HDFS"]
      
      ApplicationConfigs = [
          {
              "ConfigFileName": "hbase-site.xml",
              "ApplicationName": "HBASE",
              "ConfigItemKey": "hbase.wal.mode",
              "ConfigScope": "CLUSTER",
              "ConfigItemValue": "HDFS"
          },
          {
              "ConfigFileName": "common.conf",
              "ApplicationName": "OSS-HDFS",
              "ConfigItemKey": "OSS_ROOT_URI",
              "ConfigScope": "CLUSTER",
              "ConfigItemValue": "oss://examplebucket.oss-cn-hangzhou-internal.aliyuncs.com/"
          },
          {
              "ConfigFileName": "hdfs-site.xml",
              "ApplicationName": "HBASE-HDFS",
              "ConfigItemKey": "dfs.balancer.block-move.timeout",
              "ConfigScope": "CLUSTER",
              "ConfigItemValue": "600000"
          }
      ]
  • Add a service

    If you create a cluster with the OSS-HDFS service and later add the HBase service, the HBase-HDFS service is also automatically deployed.

References