zookeeper在hbase中的利用梳理
相关的节点说明,
root-region-server:ROOT表所在的regionserver(HMaster查找root表并分配给一个NodeServer上后,注册在zookeeper上)
rs:子节点表示在线的region server(regionserver上线后,注册在rs下面)
draining:(HDFS currently has a way to exclude certain datanodes and prevent them from getting new blocks. HDFS goes one step further and even drains these nodes for you. This enhancement is a step in that direction.
The idea is that we mark nodes in zookeeper as draining nodes. This means that they don't get any more new regions. These draining nodes look exactly the same as the corresponding nodes in /rs, except they live under /draining.)
master:存储hmaster节点(Master启动后,注册在该节点中)
backup-masters:存储backup ma