Help Center/ MapReduce Service/ Service Overview/ Components/ HBase/ Relationship Between HBase and Other Components
Updated on 2025-05-10 GMT+08:00

Relationship Between HBase and Other Components

Relationship Between HDFS and HBase

HDFS is the subproject of Apache Hadoop. HBase uses the Hadoop Distributed File System (HDFS) as the file storage system. HBase is located in structured storage layer. The HDFS provides highly reliable support for lower-layer storage of HBase. All the data files of HBase can be stored in the HDFS, except some log files generated by HBase.

Relationship Between ZooKeeper and HBase

Figure 1 describes the relationship between ZooKeeper and HBase.

Figure 1 Relationship between ZooKeeper and HBase
  1. HRegionServer registers itself to ZooKeeper in Ephemeral node. ZooKeeper stores the HBase information, including the HBase metadata and HMaster addresses.
  2. HMaster detects the health status of each HRegionServer using ZooKeeper, and monitors them.
  3. HBase supports multiple HMaster nodes (like HDFS NameNodes). When the active HMatser is faulty, the standby HMaster obtains the state information about the entire cluster using ZooKeeper. This prevents a failure of the HBase cluster.