Apache Hbase Architecture

121 views 6 slides Jan 14, 2022
Slide 1
Slide 1 of 6
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6

About This Presentation

Brief about the most widely used Apache HBase Architecture

Let me know if anything is required. Happy to help.
Ping me google #bobrupakroy.


Slide Content

Hbase- II
Architecture

Hbase Architecture
When the table becomes big then the table get
partitioned based on row key values into multiple
regions and regions are place where table data is
stored.
ID NameLocation
11 Bob IN
22 Fara SG
33 Niki JP
44 Steve NZ
ID NameLocation
11 Bob IN
22 Fara SG
33 Niki Jp
IDNameLocation
44Steve NZ
55 Nina RU
66Ryan IN
Region 2
Region 1
Rupak Roy

Hbase Architecture
H Region Servers are responsible for splitting and
managing the regions and H Master is responsible
for managing and monitoring the cluster.
H Region Server
H Region
H Region
H Region Server
H Region
H Region
Rupak Roy

Hbase Architecture
Hbase uses Log Structured Merge, in short LSM tree to process to the
write operations.
In LSM all inputs are appended with a write head log which can be
reused to restore the database in case of any malfunctions.
Then the most recent inserts are
stored in the MemStorage and
when the memstorage gets filled
up the data is stored in a
new Hfile.
Hfile is a block indexed file format used by the Hbase to store the table
that is the key-value pairs on HDFS.
Hfile stores the key value in a lexical order by using thee row keys
MemStore
HFile
Write
Head
Log
H Region Server
Rupak Roy

Hbase Architecture
Some of the read and write operators are:
Get: gives the value of a Row Key
PUT: to insert a new entry.
Scan: gives the values for a range of Row Keys.
Delete: to delete a cell value.

Rupak Roy

Create a Hbase table