Skip to content

HBASE-29635 HBCK scheduleRecoveries incompatible with HBase 3#152

Merged
petersomogyi merged 3 commits into
apache:masterfrom
petersomogyi:HBASE-29635
Oct 6, 2025
Merged

HBASE-29635 HBCK scheduleRecoveries incompatible with HBase 3#152
petersomogyi merged 3 commits into
apache:masterfrom
petersomogyi:HBASE-29635

Conversation

@petersomogyi
Copy link
Copy Markdown
Contributor

No description provided.

@Apache-HBase
Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 24s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 spotbugs 0m 0s spotbugs executables are not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-0 ⚠️ test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+1 💚 mvninstall 3m 19s master passed
+1 💚 compile 0m 10s master passed
+1 💚 checkstyle 0m 22s master passed
+1 💚 spotless 0m 15s branch has no errors when running spotless:check.
+1 💚 javadoc 0m 18s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 0m 12s the patch passed
+1 💚 compile 0m 10s the patch passed
+1 💚 javac 0m 10s the patch passed
+1 💚 checkstyle 0m 5s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
-1 ❌ spotless 0m 5s patch has 23 errors when running spotless:check, run spotless:apply to fix.
+1 💚 javadoc 0m 6s the patch passed
_ Other Tests _
+1 💚 unit 4m 40s hbase-hbck2 in the patch passed.
+1 💚 asflicense 0m 14s The patch does not generate ASF License warnings.
11m 30s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-Operator-Tools-PreCommit/job/PR-152/1/artifact/yetus-precommit-check/output/Dockerfile
GITHUB PR #152
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs spotless checkstyle compile
uname Linux 9fdde413f564 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 GNU/Linux
Build tool maven
Personality dev-support/jenkins/hbase-personality.sh
git revision master / 230f86e
Default Java Oracle Corporation-1.8.0_342-b07
spotless https://ci-hbase.apache.org/job/HBase-Operator-Tools-PreCommit/job/PR-152/1/artifact/yetus-precommit-check/output/patch-spotless.txt
Test Results https://ci-hbase.apache.org/job/HBase-Operator-Tools-PreCommit/job/PR-152/1/testReport/
Max. process+thread count 1283 (vs. ulimit of 5000)
modules C: hbase-hbck2 U: hbase-hbck2
Console output https://ci-hbase.apache.org/job/HBase-Operator-Tools-PreCommit/job/PR-152/1/console
versions git=2.30.2 maven=3.8.6
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

put(BYPASS, Arrays.asList("bypassProcedure"));
put(SCHEDULE_RECOVERIES,
Arrays.asList("scheduleServerCrashProcedure", "scheduleServerCrashProcedures"));
Arrays.asList("scheduleServerCrashProcedures"));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a command? Is it OK to remove a command?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a compatibility check for the Hbck interface for the commands availability. When the server does not have the specified command it will thrown and UnsupportedOperationException to the operator but it can be ignored with the skip flag.
The scheduleServerCrashProcedure got deprecated in 2.2.1 so older HBase verisons will not be compatible with this HBCK.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then I think if we still want HBCK to support hbase 2.2.1-, we should keep this command here? For newer hbase versions, we could use scheduleServerCrashProcedures?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This removal doesn't mean HBCK would work with an older HBase, this would just throw the exception before calling the method. The change in this line is relevant: https://github.com/apache/hbase-operator-tools/pull/152/files#diff-2b2dc12521ea8fad10d0e53fa0ce78fc7dd3037a648a3e5c5547948e76511afdR596

However, there are other incompatibilities with HBase 3.0 and resolving them would be difficult to keep it compatible with older versions. I started to collect them in HBASE-29638

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Apache9 Please take a look. I kept the old version support with reflection.

@Apache-HBase
Copy link
Copy Markdown

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 26s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 spotbugs 0m 0s spotbugs executables are not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-0 ⚠️ test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+1 💚 mvninstall 3m 16s master passed
+1 💚 compile 0m 11s master passed
+1 💚 checkstyle 0m 22s master passed
+1 💚 spotless 0m 15s branch has no errors when running spotless:check.
+1 💚 javadoc 0m 17s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 0m 11s the patch passed
+1 💚 compile 0m 11s the patch passed
+1 💚 javac 0m 11s the patch passed
+1 💚 checkstyle 0m 4s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 spotless 0m 4s patch has no errors when running spotless:check.
+1 💚 javadoc 0m 6s the patch passed
_ Other Tests _
+1 💚 unit 4m 47s hbase-hbck2 in the patch passed.
+1 💚 asflicense 0m 13s The patch does not generate ASF License warnings.
10m 34s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-Operator-Tools-PreCommit/job/PR-152/2/artifact/yetus-precommit-check/output/Dockerfile
GITHUB PR #152
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs spotless checkstyle compile
uname Linux d33bb685ac5e 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 GNU/Linux
Build tool maven
Personality dev-support/jenkins/hbase-personality.sh
git revision master / 230f86e
Default Java Oracle Corporation-1.8.0_342-b07
Test Results https://ci-hbase.apache.org/job/HBase-Operator-Tools-PreCommit/job/PR-152/2/testReport/
Max. process+thread count 1284 (vs. ulimit of 5000)
modules C: hbase-hbck2 U: hbase-hbck2
Console output https://ci-hbase.apache.org/job/HBase-Operator-Tools-PreCommit/job/PR-152/2/console
versions git=2.30.2 maven=3.8.6
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Copy Markdown

@PDavid PDavid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for fixing this. 👍

@petersomogyi petersomogyi requested a review from Apache9 October 2, 2025 11:54
@petersomogyi
Copy link
Copy Markdown
Contributor Author

I kept support for old HBase version with reflection and tested it with 2.2.0 version.

@Apache-HBase
Copy link
Copy Markdown

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 25s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 spotbugs 0m 0s spotbugs executables are not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-0 ⚠️ test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+1 💚 mvninstall 1m 42s master passed
+1 💚 compile 0m 10s master passed
+1 💚 checkstyle 0m 12s master passed
+1 💚 spotless 0m 9s branch has no errors when running spotless:check.
+1 💚 javadoc 0m 10s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 0m 12s the patch passed
+1 💚 compile 0m 10s the patch passed
+1 💚 javac 0m 10s the patch passed
+1 💚 checkstyle 0m 4s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 spotless 0m 4s patch has no errors when running spotless:check.
+1 💚 javadoc 0m 6s the patch passed
_ Other Tests _
+1 💚 unit 4m 39s hbase-hbck2 in the patch passed.
+1 💚 asflicense 0m 8s The patch does not generate ASF License warnings.
8m 23s
Subsystem Report/Notes
Docker ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-Operator-Tools-PreCommit/job/PR-152/3/artifact/yetus-precommit-check/output/Dockerfile
GITHUB PR #152
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs spotless checkstyle compile
uname Linux e126149cd528 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 GNU/Linux
Build tool maven
Personality dev-support/jenkins/hbase-personality.sh
git revision master / 230f86e
Default Java Oracle Corporation-1.8.0_342-b07
Test Results https://ci-hbase.apache.org/job/HBase-Operator-Tools-PreCommit/job/PR-152/3/testReport/
Max. process+thread count 1270 (vs. ulimit of 5000)
modules C: hbase-hbck2 U: hbase-hbck2
Console output https://ci-hbase.apache.org/job/HBase-Operator-Tools-PreCommit/job/PR-152/3/console
versions git=2.30.2 maven=3.8.6
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@petersomogyi petersomogyi merged commit a441c11 into apache:master Oct 6, 2025
1 check passed
@petersomogyi petersomogyi deleted the HBASE-29635 branch October 6, 2025 08:42
@Apache9
Copy link
Copy Markdown
Contributor

Apache9 commented Oct 7, 2025

Sorry for the late reply...

Thanks @petersomogyi and others!

Let me prepare a new RC for hbase-operator-tools.

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.

7 participants