In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail how to form region and meta tables in hbase. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
Region
Region is part of the table data, and each region has three main elements:
Which table does it belong to?
Its startrow
Its endrow.
Meta table
The items in the table use the name region as the key. The region name consists of the name of the table to which it belongs, the starting row of the region, the time it was created, and the MD5 hash value for its whole.
For example:
Award_week_2013,201311:170100626,1371697714559.f7f37b98c01f68b7b5cc6c1c3734a666
| |-- Table name-|-starting line-|-- creation timestamp-- |-overall MD5 hash value-| |
(the MD5 hash value is missing from the previous chart)
Therefore, we associate that if the attributes of STARTROW and ENDROW are added in the process of table scan, the lookup is very fast, because according to the given rowkey, it is from. Meta. Find the region in the table, and then look for it from region.
Then the main Family:info,info in the table contains three Column:regioninfo, server, and serverstartcode. Regioninfo is the details of Region, including StartKey, EndKey, and information about each Family, and so on. Server stores the address of the RegionServer that manages the Region.
When will the value of this watch change?
When region split, disable, enable, drop, or balance results in region reallocation or region reassignment due to regionserver hanging,. META. The data of the table will be updated in a timely manner
This ensures that the table accessed according to meta exists.
This is the end of the article on "how to form region and meta tables in hbase". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.