Legal claims defining the scope of protection, as filed with the USPTO.
1. A method for performing online merging of regions in an HBase database, comprising: identifying adjacent regions in a cluster as being candidate regions for performing an online merging operation; determining which of the adjacent regions in the cluster as being candidate regions are in idle state; creating a script for performing the online merging operation on the adjacent regions in the idle state in the cluster as being candidate regions; and merging the adjacent regions in the idle state in the cluster as being candidate regions by running the script, wherein operation of the adjacent regions other than the adjacent regions in the idle state is maintained during the running of the script.
2. The method of claim 1, wherein the identifying the adjacent regions in the cluster as being candidate regions for running the script further comprises receiving input to initiate the running the script to merge the adjacent regions, and determining the cluster of the HBase database is available for performing the running the script.
3. The method of claim 1, wherein the identifying the adjacent regions in the cluster as being candidate regions for running the script includes determining the candidate regions in the cluster of the HBase database are in standby mode or is online and paused.
4. The method of claim 1, wherein the identifying adjacent regions as being candidate regions for the running the script includes identifying zero-byte regions in the cluster that are adjacent.
5. The method of claim 4, wherein the identifying the zero-byte regions in the cluster that are adjacent includes identifying a first region having an end key value equal to a start key value of a subsequent region, wherein at least one of the first region and the subsequent region is a zero-byte region.
6. The method of claim 1, wherein the running the script to merge the adjacent regions in the cluster as being candidate regions further includes: determining whether zero-byte regions remain in the cluster after running the script; and in response to zero-byte regions remaining in the cluster, re-running the script until all zero-byte regions are removed.
7. The method of claim 1, wherein the creating the script for merging the adjacent regions in the cluster as being candidate regions includes: obtaining table data of the adjacent regions via HyperText Markup Language (HTML) and listing the adjacent regions listed in ascending order of start keys and end keys; performing text manipulation operations on the adjacent regions to obtain region information including identification, start key, and end key; identifying zero-byte regions from the adjacent regions; determining mergeable pairs of the adjacent regions based on the identifying the zero-byte regions; isolating the mergeable pairs of adjacent regions by removing HTML tags; and writing region information for the mergeable pairs of adjacent regions in a file as online merge commands to create the script.
8. A device for performing online merging, comprising: a memory storing computer-readable instructions; and a processor connected to the memory, wherein the processor is configured to execute the computer-readable instructions to: identify adjacent regions in a cluster as being candidate regions for performing an online merging operation; determine which of the adjacent regions in the cluster as being candidate regions are in idle state; create a script for performing the online merging operation on the adjacent regions in the idle state in the cluster as being candidate regions; and merge the adjacent regions in the idle state in the cluster as being candidate regions by running the script, wherein operation of the adjacent regions other than the adjacent regions in the idle state is maintained during the running of the script.
9. The device of claim 8, wherein the processor is further configured to receive input to initiate the running the script to merge the adjacent regions, and determine the cluster of the HBase database is available for performing the running the script to merge the adjacent regions.
10. The device of claim 8, wherein the processor is configured to identify the adjacent regions in the cluster as being candidate regions for the running the script to merge the adjacent regions by determining the candidate regions in the cluster of the HBase database are in standby mode or is online and paused.
11. The device of claim 8, wherein the processor is configured to identify adjacent regions as being candidate regions for the running the script to merge the adjacent regions by identifying zero-byte regions in the cluster that are adjacent.
12. The device of claim 11, wherein the processor is configured to identify zero-byte regions in the cluster that are adjacent by identifying a first region having an end key value equal to a start key value of a subsequent region, wherein at least one of the first region and the subsequent region is a zero-byte region.
13. The device of claim 8, wherein the processor is further configured to determine whether zero-byte regions remain in the cluster after running the script and, in response to zero-byte regions remaining in the cluster, re-running the script until all zero-byte regions are removed.
14. The device of claim 8, wherein the processor is configured to create the script for running the script to merge the adjacent regions in the cluster as being candidate regions by: obtaining table data of the adjacent regions via HyperText Markup Language (HTML) and listing the adjacent regions listed in ascending order of start keys and end keys; performing text manipulation operations on the adjacent regions to obtain region information including identification, start key, and end key; identifying zero-byte regions from the adjacent regions; determining mergeable pairs of the adjacent regions based on the identifying the zero-byte regions; isolating the mergeable pairs of adjacent regions by removing HTML tags; and writing region information for the mergeable pairs of adjacent regions in a file as online merge commands to create the script.
15. A non-transitory computer-readable media having computer-readable instructions stored thereon, which when executed by a processor causes the processor to perform operations comprising: identifying adjacent regions in a cluster as being candidate regions for performing an online merging operation; determining which of the adjacent regions in the cluster as being candidate regions are in idle state; creating a script for performing the online merging operation on the adjacent regions in the idle state in the cluster as being candidate regions; and merging the adjacent regions in the idle state in the cluster as being candidate regions by running the script, wherein operation of the adjacent regions other than the adjacent regions in the idle state is maintained during the running of the script.
16. The non-transitory computer-readable media of claim 15 further comprises receiving input to initiate the running the script to merge the adjacent regions, and determining the cluster of the HBase database is available for running the script to merge the adjacent regions.
17. The non-transitory computer-readable media of claim 15, wherein the identifying the adjacent regions in the cluster that are in an idle state as being candidate regions for running the script to merge the adjacent regions includes determining the candidate regions in the cluster of the HBase database are in standby mode or are online and paused.
18. The non-transitory computer-readable media of claim 15, wherein the identifying the adjacent regions in the cluster as being candidate regions for the running the script to merge the adjacent regions includes identifying zero-byte regions in the cluster that are adjacent regions, wherein the identifying the zero-byte regions in the cluster that are adjacent regions includes identifying a first region having an end key value equal to a start key value of a subsequent region, wherein at least one of the first region and the subsequent region is a zero-byte region.
19. The non-transitory computer-readable media of claim 15, wherein the running the script on the adjacent regions in the cluster as being candidate regions further includes: determining whether zero-byte regions remain in the cluster after running the script; and in response to zero-byte regions remaining in the cluster, re-running the script until all zero-byte regions are removed.
20. The non-transitory computer-readable media of claim 15, wherein the creating the script for running the script to merge the adjacent regions in the cluster as being candidate regions includes: obtaining table data of the adjacent regions via HyperText Markup Language (HTML) and listing the adjacent regions listed in ascending order of start keys and end keys; performing text manipulation operations on the adjacent regions to obtain region information including identification, start key, and end key; identifying zero-byte regions from the adjacent regions; determining mergeable pairs of the adjacent regions based on the identifying the zero-byte regions; isolating the mergeable pairs of adjacent regions by removing HTML tags; and writing region information for the mergeable pairs of adjacent regions in a file as online merge commands to create the script.
Unknown
August 12, 2025
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.