hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shushant Arora <shushantaror...@gmail.com>
Subject hbase zookeeper lag
Date Sun, 15 May 2016 02:43:49 GMT

Hbase uses zookeeper for various purposes. e.g for region split.

Regionserver creates a znode in zookeeper with splitting state and master
gets notification of this directory , since zookeeper is not fully
consistent - there may be lag between  actual directory creation and
notification till then regionserver will start splitting.
1.will this lag creates issue- Region is already splitted in two but master
does not even know about it until lag of zookeeper is cleared.

and also when regionserver is down it will be notified to master but there
also it can be lag. So it can happen a node in zookeeper is lagging lot
behind say ~2minutes . So master will be notified after 2 minutes.
2.Won't this lag create issue- make client will get region not reachable
and will try with backoff but actual recovery of region server backup will
start after 2 minutes?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message