HBase hotspot eliminating method and system
A technology to eliminate systems and hot spots, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as difficulty in eliminating HBase hot spots
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] A HBase hotspot elimination method, such as figure 1 shown, including:
[0073] Step 101, setting the initial value of the number of exchanges of each Region in the HBase table of the cluster to 0.
[0074] Step 102, detect the cluster, use the statistical method to statistically analyze the HBase table of the cluster, obtain the data distribution and variance, determine a first request volume threshold according to the average load of the cluster, then first find the region exceeding the threshold, and then according to these The regionServer where the region is located is classified and added to the list of hot machines. Moreover, the number of regions to be operated can also be limited here. For example, if 20 hotspot regions are detected, the first 10 hotspot regions can be processed first;
[0075] Step 103, judging whether the number of Region hotspots included in the hotspot machine list is 0, if yes, then end the process, if not, then execute step 104. That i...
Embodiment 2
[0099] The HBase hotspot elimination method of the present embodiment is basically the same as the HBase hotspot elimination method of embodiment 1, and the difference is that the HBase hotspot elimination method of the present implementation also includes the following steps:
[0100] like image 3 As shown, replace step 101 with the following steps:
[0101] Step 1011, setting the initial value of the number of exchanged times of each Region in the HBase table of the cluster to 0, and setting the initial value of the number of times of detection of the cluster to 0.
[0102] Step 1012. Determine whether the number of detected clusters reaches a detection threshold. If so, end the process. If not, execute step 102'. The detection threshold can be freely set by the technician according to actual needs. If the technician only wants to detect a cluster once, the detection threshold can be set to 1. If the technician wants to detect the cluster multiple times, the detection thre...
Embodiment 3
[0114] The HBase hotspot elimination method of the present embodiment is basically the same as the HBase hotspot elimination method of embodiment 1, and the difference is that, as Figure 5 As shown, the HBase hotspot elimination method of this implementation also includes performing the following steps after step 101:
[0115] Step 001. Statistically analyze the HBase table of the cluster using a statistical method to obtain data distribution and variance, determine the second request volume threshold according to the average load of the cluster, and obtain the RegionServer hotspot of the HBase table of the cluster, where the RegionServer hotspot is the request volume RegionServers that exceed the second request threshold.
[0116] Step 002. Calculate the variance of the N Regions with the highest traffic hotspots in the RegionServer, where N is a positive integer. The value of N can be freely set by technicians according to actual conditions.
[0117] Step 003. Determine w...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com