Skip to content

Backport "HBASE-29782 Expose public Admin API to reopen table regions without moving" to branch-2 - #7611

Merged
rmdmattingly merged 5 commits into
apache:branch-2from
HubSpot:HBASE-29782-reopen-regions-api-branch-2
Jan 11, 2026
Merged

Backport "HBASE-29782 Expose public Admin API to reopen table regions without moving" to branch-2#7611
rmdmattingly merged 5 commits into
apache:branch-2from
HubSpot:HBASE-29782-reopen-regions-api-branch-2

Conversation

@ajkh88

Copy link
Copy Markdown
Contributor

This code was already merged to master - this PR is to merge the functionality into branch-2.
Original PR: #7563

Adds Admin APIs to modify tables without immediately reopening all regions and to selectively reopen regions in-place. This enables gradual rollout of table descriptor changes without triggering RIT storms on large tables.

Useful for safely deploying configuration changes - modify with reopenRegions=false, canary test on a few regions with reopenTableRegions(tableName, regions), then roll out to the entire table with reopenTableRegions(tableName).

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 48sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+0 🆗buf0m 0sbuf was not available.
+0 🆗buf0m 0sbuf was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
_ branch-2 Compile Tests _
+0 🆗mvndep0m 21sMaven dependency ordering for branch
+1 💚mvninstall2m 58sbranch-2 passed
+1 💚compile5m 7sbranch-2 passed
+1 💚checkstyle1m 30sbranch-2 passed
+1 💚spotbugs5m 8sbranch-2 passed
+1 💚spotless0m 44sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for patch
+1 💚mvninstall3m 1sthe patch passed
+1 💚compile5m 8sthe patch passed
+1 💚cc5m 8sthe patch passed
+1 💚javac5m 8sthe patch passed
+1 💚blanks0m 0sThe patch has no blanks issues.
+1 💚checkstyle1m 28sthe patch passed
+1 💚spotbugs5m 33sthe patch passed
+1 💚hadoopcheck16m 29sPatch does not cause any errors with Hadoop 2.10.2 or 3.3.6 3.4.1.
+1 💚hbaseprotoc1m 43sthe patch passed
+1 💚spotless0m 44spatch has no errors when running spotless:check.
_ Other Tests _
+1 💚asflicense0m 36sThe patch does not generate ASF License warnings.
54m 9s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7611/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#7611
Optional Testsdupname asflicense javac spotbugs checkstyle codespell detsecrets compile hadoopcheck hbaseanti spotless cc buflint bufcompat hbaseprotoc
unameLinux fc7837804c5e 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / 4d9d47c
Default JavaEclipse Adoptium-11.0.23+9
Max. process+thread count82 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7611/4/console
versionsgit=2.34.1 maven=3.9.8 spotbugs=4.7.3
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec1m 16sDocker mode activated.
-0 ⚠️yetus0m 5sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ branch-2 Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for branch
+1 💚mvninstall2m 40sbranch-2 passed
+1 💚compile1m 42sbranch-2 passed
+1 💚javadoc0m 54sbranch-2 passed
+1 💚shadedjars4m 43sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
+1 💚mvninstall2m 15sthe patch passed
+1 💚compile1m 41sthe patch passed
+1 💚javac1m 41sthe patch passed
+1 💚javadoc0m 53sthe patch passed
+1 💚shadedjars4m 41spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit0m 23shbase-protocol-shaded in the patch passed.
+1 💚unit7m 33shbase-client in the patch passed.
-1 ❌unit230m 38s/patch-unit-hbase-server.txthbase-server in the patch failed.
+1 💚unit6m 16shbase-thrift in the patch passed.
270m 32s
SubsystemReport/Notes
DockerClientAPI=1.48 ServerAPI=1.48 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7611/4/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#7611
Optional Testsjavac javadoc unit compile shadedjars
unameLinux d3d7cff1b2db 6.8.0-1024-aws #26~22.04.1-Ubuntu SMP Wed Feb 19 06:54:57 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionbranch-2 / 4d9d47c
Default JavaEclipse Adoptium-17.0.11+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7611/4/testReport/
Max. process+thread count3887 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server hbase-thrift U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7611/4/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@rmdmattingly

Copy link
Copy Markdown
Contributor

Test failures are unrelated

@rmdmattinglyrmdmattingly changed the title Backport: HBASE-29782 Expose public Admin API to reopen table regions without movingBackport "HBASE-29782 Expose public Admin API to reopen table regions without moving" to branch-2Jan 11, 2026
@rmdmattingly
rmdmattingly merged commit 2dcc6e2 into apache:branch-2Jan 11, 2026
1 check failed
@rmdmattingly
rmdmattingly deleted the HBASE-29782-reopen-regions-api-branch-2 branch January 11, 2026 19:45
rmdmattingly pushed a commit to HubSpot/hbase that referenced this pull request Jan 11, 2026
…oving (apache#7563) (apache#7611)
Co-authored-by: Alex Hughes <ahughes@hubspot.com>
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
rmdmattingly pushed a commit to HubSpot/hbase that referenced this pull request Jan 11, 2026
… regions without moving (apache#7563) (apache#7611) (will be in 2.7)
Co-authored-by: Alex Hughes <ahughes@hubspot.com>
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
rmdmattingly added a commit to HubSpot/hbase that referenced this pull request Jan 11, 2026
… regions without moving (apache#7563) (apache#7611) (#232) (will be in 2.7)
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
Co-authored-by: Alex Hughes <ajkh88@users.noreply.github.com>
Co-authored-by: Alex Hughes <ahughes@hubspot.com>
charlesconnell pushed a commit to HubSpot/hbase that referenced this pull request Jul 14, 2026
… regions without moving (apache#7563) (apache#7611) (#232) (will be in 2.7)
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
Co-authored-by: Alex Hughes <ajkh88@users.noreply.github.com>
Co-authored-by: Alex Hughes <ahughes@hubspot.com>
charlesconnell pushed a commit to HubSpot/hbase that referenced this pull request Jul 15, 2026
… regions without moving (apache#7563) (apache#7611) (#232) (will be in 2.7)
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
Co-authored-by: Alex Hughes <ajkh88@users.noreply.github.com>
Co-authored-by: Alex Hughes <ahughes@hubspot.com>
charlesconnell pushed a commit to HubSpot/hbase that referenced this pull request Aug 4, 2026
… regions without moving (apache#7563) (apache#7611) (#232) (will be in 2.7)
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
Co-authored-by: Alex Hughes <ajkh88@users.noreply.github.com>
Co-authored-by: Alex Hughes <ahughes@hubspot.com>
charlesconnell pushed a commit to HubSpot/hbase that referenced this pull request Aug 4, 2026
… regions without moving (apache#7563) (apache#7611) (#232) (will be in 2.7)
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
Co-authored-by: Alex Hughes <ajkh88@users.noreply.github.com>
Co-authored-by: Alex Hughes <ahughes@hubspot.com>
charlesconnell pushed a commit to HubSpot/hbase that referenced this pull request Aug 8, 2026
… regions without moving (apache#7563) (apache#7611) (#232) (will be in 2.7)
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
Co-authored-by: Alex Hughes <ajkh88@users.noreply.github.com>
Co-authored-by: Alex Hughes <ahughes@hubspot.com>
charlesconnell pushed a commit to HubSpot/hbase that referenced this pull request Aug 9, 2026
… regions without moving (apache#7563) (apache#7611) (#232) (will be in 2.7)
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
Co-authored-by: Alex Hughes <ajkh88@users.noreply.github.com>
Co-authored-by: Alex Hughes <ahughes@hubspot.com>
charlesconnell pushed a commit to HubSpot/hbase that referenced this pull request Aug 9, 2026
… regions without moving (apache#7563) (apache#7611) (#232) (will be in 2.7)
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
Co-authored-by: Alex Hughes <ajkh88@users.noreply.github.com>
Co-authored-by: Alex Hughes <ahughes@hubspot.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@ajkh88@Apache-HBase@rmdmattingly