HBASE-29635 HBCK scheduleRecoveries incompatible with HBase 3#152
Conversation
|
💔 -1 overall
This message was automatically generated. |
| put(BYPASS, Arrays.asList("bypassProcedure")); | ||
| put(SCHEDULE_RECOVERIES, | ||
| Arrays.asList("scheduleServerCrashProcedure", "scheduleServerCrashProcedures")); | ||
| Arrays.asList("scheduleServerCrashProcedures")); |
There was a problem hiding this comment.
This is a command? Is it OK to remove a command?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
@Apache9 Please take a look. I kept the old version support with reflection.
|
🎊 +1 overall
This message was automatically generated. |
|
I kept support for old HBase version with reflection and tested it with 2.2.0 version. |
|
🎊 +1 overall
This message was automatically generated. |
|
Sorry for the late reply... Thanks @petersomogyi and others! Let me prepare a new RC for hbase-operator-tools. |
No description provided.