Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.90.4
-
None
-
None
Description
The RegionSplitter utility allows users to create a pre-split table from the command line or do a rolling split on an existing table. It supports pluggable split algorithms that implement the SplitAlgorithm interface. The only/default SplitAlgorithm is one that assumes keys fall in the range from ASCII string "00000000" to ASCII string "7FFFFFFF". This is not a sane default, and seems useless to most users. Users are likely to be surprised by the fact that all the region splits occur in in the byte range of ASCII characters.
A better default split algorithm would be one that evenly divides the space of all bytes, which is what this patch does. Making a table with five regions would split at \x33\x33..., \x66\x66...., \x99\x99..., \xCC\xCC..., and \xFF\xFF.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-4627 Ability to specify a custom start/end to RegionSplitter
- Closed
-
HBASE-4628 Enhance Table Create Presplit Functionality within the HBase Shell
- Closed