Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the single Node failure of HBase by zookeeker

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

HBase architecture is a Master with multiple RegionServer,Master responsible for maintaining Region and other work, but client access to Hbase does not need to go through Master. ZK monitors the election Master to ensure that the cluster always has an available Master, that is, access to the Master requires ZK. When the ZK finds that the Master is dead, it will elect a new Master from other machines to provide services.

Zookeeper action

Through the election, it is guaranteed that at any time, only one master,Master and RegionServers in the cluster will register with ZooKeeper when it starts.

Store the addressing entry for all Region

Monitor the online and offline information of Region server in real time. And notify Master in real time.

Store schema and Table metadata for HBase

By default, HBase manages ZooKeeper instances, such as starting or stopping ZooKeeper

The introduction of Zookeeper makes Master no longer a single point of failure.

Reference article:

Http://blog.csdn.net/woshiwanxin102213/article/details/17584043

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report