Hbase-connection process

Source: Internet
Author: User

Tags

Root and meta tables

Before Version 0.9.6, the root table exists. In later versions, the root table is removed. The Meta table mainly records the distribution of each table in region.

Meta Structure

 

As shown in the table, the rowkey format is tablename, startkey, timestamp, and the main column cluster of the Meta table is info. The Info: regioinfo column contains the main information of region. Info: the server contains the address and port used to change the region.

When the meta table is too large (you do not know how to deal with the meta table that is not the root table), the meta table is also divided into region and stored in different regionservers, this is to use the root table to retrieve the meta table.

Client Connected to hbase through three connections,

  • The client connects to zookeeper to obtain the regionserver address of the root table.
  • The client connects to the specific regionserver and obtains the address of the regionserver In the meta table from the root table.
  • The client connects to the specific regionserver to obtain the address of the regionserver of the specific data.
  • The client connects to the regionserver to operate data.

The entire connection process does not involve the connection to the hmaster, so it does not cause pressure on the hmaster.

Hbase-connection process

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.