Why Hbase need WAL?
问题 I'm new to Hbase, and I found that Hbase will write all the operations to WAL and memstore. Q1: I wonder why Hbase need WAL? Q2 : Hbase must write to WAL every time when I put or delete data, why don't operate it just in its data file? 回答1: HBase has is its own ACID semantics : http://hbase.apache.org/acid-semantics.html It needs a WAL so that it can replay edits in case of Failure of a RegionServer. WAL plays an important to provide durability guarantee. WAL is optional. You can disable WAL