HBASE-29989 Update the implementation of splitting in the documentation#7911
HBASE-29989 Update the implementation of splitting in the documentation#7911liuxiaocs7 wants to merge 2 commits intoapache:masterfrom
Conversation
liuxiaocs7
commented
Mar 12, 2026
- see: HBASE-29989
There was a problem hiding this comment.
Pull request overview
Updates the RegionServer splitting documentation to clarify the HDFS directory layout used by newer region split implementations (referencing HBASE-26187), in the context of HBASE-29989.
Changes:
- Adds an informational callout noting that newer split implementations no longer use a parent-region
.splitsdirectory. - Clarifies that the high-level split semantics remain the same, while the HDFS preparation location differs.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
| The numbered split procedure above contains legacy wording that mentions a `.splits` sub-directory under the parent region directory. | ||
| In newer implementations, [HBASE-26187](https://issues.apache.org/jira/browse/HBASE-26187) changed this behavior: | ||
| daughter region directories are created directly under the table directory, rather than under a parent-region `.splits` directory. | ||
| This update does not change the high-level split semantics (references, meta updates, and online transition of daughters), but it changes where temporary/initial daughter files are prepared in HDFS. |
There was a problem hiding this comment.
This note says the numbered split procedure above contains legacy wording about a .splits directory, but the procedure itself still describes creating/using .splits (steps 3/5). To avoid readers following an inaccurate step-by-step flow, consider updating the numbered steps to match the post-HBASE-26187 behavior, or explicitly scoping the numbered procedure to the older implementation and stating which HBase versions/releases the new behavior applies to.
| The numbered split procedure above contains legacy wording that mentions a `.splits` sub-directory under the parent region directory. | |
| In newer implementations, [HBASE-26187](https://issues.apache.org/jira/browse/HBASE-26187) changed this behavior: | |
| daughter region directories are created directly under the table directory, rather than under a parent-region `.splits` directory. | |
| This update does not change the high-level split semantics (references, meta updates, and online transition of daughters), but it changes where temporary/initial daughter files are prepared in HDFS. | |
| The numbered split procedure above documents the original, pre-HBASE-26187 implementation, in which daughter regions are first created under a `.splits` sub-directory of the parent region directory. | |
| In newer HBase implementations that include [HBASE-26187](https://issues.apache.org/jira/browse/HBASE-26187), this on-disk layout has changed: | |
| daughter region directories are created directly under the table directory, rather than under a parent-region `.splits` directory. | |
| When reading the numbered procedure for such newer versions, interpret any steps that mention creating or using a `.splits` directory as instead preparing and promoting daughter region files directly under the table directory. | |
| This update does not change the high-level split semantics (references, meta updates, and online transition of daughters); it only affects where temporary/initial daughter files are prepared in HDFS. |
| <Callout type="info" title="Behavior change in newer split implementation"> | ||
| The numbered split procedure above contains legacy wording that mentions a `.splits` sub-directory under the parent region directory. | ||
| In newer implementations, [HBASE-26187](https://issues.apache.org/jira/browse/HBASE-26187) changed this behavior: | ||
| daughter region directories are created directly under the table directory, rather than under a parent-region `.splits` directory. |
There was a problem hiding this comment.
Minor wording/grammar: after the colon, start the next sentence with a capital letter ("Daughter region directories...") and consider avoiding the hyphenated "parent-region" phrasing ("parent region’s .splits directory" reads more naturally).
| daughter region directories are created directly under the table directory, rather than under a parent-region `.splits` directory. | |
| Daughter region directories are created directly under the table directory, rather than under a parent region's `.splits` directory. |
PDavid
left a comment
There was a problem hiding this comment.
Many thanks, looks good to me. 👍
|
Looking into the Yetus check it says this: Can you please check this? |
Hi, @PDavid, thanks for pointing out this, I'll try to fix later! |