Q15Big Data Analytics
Question
4 marks
Explain the HBase architecture.
Answer
HBase is a distributed, column-oriented database built on top of HDFS, relying on HMaster and RegionServers.
The architecture includes: 1. HMaster: The master server responsible for monitoring RegionServers, handling metadata changes, and assigning regions. 2. RegionServers: The worker nodes that serve data for reading and writing. They manage Regions (horizontal partitions of tables). 3. ZooKeeper: Maintains the live cluster state, tracks the active HMaster, and handles RegionServer crashes. Data is stored in HFiles in HDFS, and writes are first buffered in a memory space called MemStore and logged in a Write-Ahead Log (WAL) for durability.