HBase working mechanism

Source: Internet
Author: User
Tags zookeeper

1,hbase Regionserver Register with zookeeper to provide hbase regionserver status information (online)
2,hmaster The HBase system table-root-is loaded into zookeeper cluster at boot time, and the current system table can be obtained through zookeeper cluster. META. The regionserver information corresponding to the store.
The main function of Hmaster is to maintain the system table-root by Hmaster-,. META., records the region change information for Regionserver. It is also responsible for monitoring Regionserver status change information in the current HBase cluster.
HBase Regionserver is used for multiple/individual maintenance region.
Region corresponds to the table partition data maintenance for the HBase data table.

Simply put: Zookeeper is the scheduler for HBase, and all client access first gets a session from zookeeper
ZK is also responsible for monitoring the health status of all region servers ~ ~
If ZK monitors a region SERVER every three minutes (configurable), ZK notifies Hmaster,hmaster to pull up the hanging RS if it finds a certain RS is hung up.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.