Professional Documents
Culture Documents
Zookeeper Hbase
Zookeeper Hbase
MAHADEV KONAR
What is ZooKeeper?
» Leader Election
» Group Membership
» Work Queues
» Event Notifications/workflow management
» Configuration Management
» Cluster Management
» Sharding
What is ZooKeeper again?
locks
read-1
users
ZooKeeper API
ZooKeeper Service
Leader
Master Failover
shutdown
• Master
/ • If more than one master, they fight
root-region-server • Root Region Server
• This znode holds the location of the server
hosting the root of all tables in hbase
rs • rs
• A directory in which there is a znode per
master Hbase region server
• Region Servers register themselves with
ZooKeeper when they come online
• On Region Server failure (detected via ephemeral
znodes and notification via ZooKeeper), the master
splits the edits out per region
Common Problems/Error Cases
No Connectionloss
Use Netty - allow encryption
Testing
Mockito
More of backwards compatibility testing
More ZooKeeper in Hbase?