Skip to content

Conversation

@ajkh88
Copy link
Contributor

@ajkh88 ajkh88 commented Jan 9, 2026

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

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 48s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 buf 0m 0s buf was not available.
+0 🆗 buf 0m 0s buf was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
_ branch-2 Compile Tests _
+0 🆗 mvndep 0m 21s Maven dependency ordering for branch
+1 💚 mvninstall 2m 58s branch-2 passed
+1 💚 compile 5m 7s branch-2 passed
+1 💚 checkstyle 1m 30s branch-2 passed
+1 💚 spotbugs 5m 8s branch-2 passed
+1 💚 spotless 0m 44s branch has no errors when running spotless:check.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 13s Maven dependency ordering for patch
+1 💚 mvninstall 3m 1s the patch passed
+1 💚 compile 5m 8s the patch passed
+1 💚 cc 5m 8s the patch passed
+1 💚 javac 5m 8s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 1m 28s the patch passed
+1 💚 spotbugs 5m 33s the patch passed
+1 💚 hadoopcheck 16m 29s Patch does not cause any errors with Hadoop 2.10.2 or 3.3.6 3.4.1.
+1 💚 hbaseprotoc 1m 43s the patch passed
+1 💚 spotless 0m 44s patch has no errors when running spotless:check.
_ Other Tests _
+1 💚 asflicense 0m 36s The patch does not generate ASF License warnings.
54m 9s
Subsystem Report/Notes
Docker ClientAPI=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 Tests dupname asflicense javac spotbugs checkstyle codespell detsecrets compile hadoopcheck hbaseanti spotless cc buflint bufcompat hbaseprotoc
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision branch-2 / 4d9d47c
Default Java Eclipse Adoptium-11.0.23+9
Max. process+thread count 82 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7611/4/console
versions git=2.34.1 maven=3.9.8 spotbugs=4.7.3
Powered by Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 16s Docker mode activated.
-0 ⚠️ yetus 0m 5s Unprocessed 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 🆗 mvndep 0m 11s Maven dependency ordering for branch
+1 💚 mvninstall 2m 40s branch-2 passed
+1 💚 compile 1m 42s branch-2 passed
+1 💚 javadoc 0m 54s branch-2 passed
+1 💚 shadedjars 4m 43s branch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 16s Maven dependency ordering for patch
+1 💚 mvninstall 2m 15s the patch passed
+1 💚 compile 1m 41s the patch passed
+1 💚 javac 1m 41s the patch passed
+1 💚 javadoc 0m 53s the patch passed
+1 💚 shadedjars 4m 41s patch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚 unit 0m 23s hbase-protocol-shaded in the patch passed.
+1 💚 unit 7m 33s hbase-client in the patch passed.
-1 ❌ unit 230m 38s /patch-unit-hbase-server.txt hbase-server in the patch failed.
+1 💚 unit 6m 16s hbase-thrift in the patch passed.
270m 32s
Subsystem Report/Notes
Docker ClientAPI=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 Tests javac javadoc unit compile shadedjars
uname Linux 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 tool maven
Personality dev-support/hbase-personality.sh
git revision branch-2 / 4d9d47c
Default Java Eclipse Adoptium-17.0.11+9
Test Results https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7611/4/testReport/
Max. process+thread count 3887 (vs. ulimit of 30000)
modules C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift U: .
Console output https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7611/4/console
versions git=2.34.1 maven=3.9.8
Powered by Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@rmdmattingly
Copy link
Contributor

Test failures are unrelated

@rmdmattingly rmdmattingly changed the title Backport: HBASE-29782 Expose public Admin API to reopen table regions without moving Backport "HBASE-29782 Expose public Admin API to reopen table regions without moving" to branch-2 Jan 11, 2026
@rmdmattingly rmdmattingly merged commit 2dcc6e2 into apache:branch-2 Jan 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>
Sign up for free to 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