Bandi LokeshReddy
Bandi LokeshReddy

Reputation: 133

What happens when Memstore crashes in Hbase?

How Region server will respond when MEMSTORE have failed in a HBASE cluster?

Upvotes: 1

Views: 244

Answers (1)

John Leach
John Leach

Reputation: 528

I explain this a lot to companies we support at Splice Machine (Open Source).

The records that are in the memstore (memory) also have corresponding Write Ahead Log Records. When a record is inserted into the memstore, it is also appended to the write ahead log. If a memstore crashes (i.e. regionserver crashes), zookeeper will identify the node failure and the HBase Master node will re-assign the region to another node. The other node before bringing up the region, will read the write ahead logs from HDFS.

Hope this helps.

Upvotes: 5

Related Questions