[
https://issues.apache.org/jira/browse/HBASE-29635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Somogyi updated HBASE-29635:
----------------------------------
Description:
The scheduleRecoveries in HBCK does not work with HBase 3.0.
The
{{List<Long> scheduleServerCrashProcedure(List<HBaseProtos.ServerName>
serverNames)}} method got deprecated and removed from HBase 3.
{noformat}
$ bin/hbase hbck -j
~/tmp/hbase-operator-tools-1.3.0RC0/hbase-operator-tools-1.3.0/hbase-hbck2/hbase-hbck2-1.3.0.jar
scheduleRecoveries 192.168.1.121,16020,1759219597019
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/Users/psomogyi/tmp/hbase-operator-tools-1.3.0RC0/hbase-operator-tools-1.3.0/hbase-hbck2/hbase-hbck2-1.3.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/Users/psomogyi/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.17.2/log4j-slf4j-impl-2.17.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will
impact performance.
2025-09-30T10:11:33,291 WARN [main {}] util.NativeCodeLoader: Unable to load
native-hadoop library for your platform... using builtin-java classes where
applicable
2025-09-30T10:11:33,546 INFO [RPCClient-NioEventLoopGroup-1-2 {}]
Configuration.deprecation: hbase.client.pause.cqtbe is deprecated. Instead, use
hbase.client.pause.server.overloaded
2025-09-30T10:11:33,558 INFO [main {}] client.AsyncConnectionImpl: Connection
has been closed by main.
Exception in thread "main" java.lang.NoSuchMethodError: 'java.util.List
org.apache.hadoop.hbase.client.Hbck.scheduleServerCrashProcedure(java.util.List)'
at org.apache.hbase.HBCK2.scheduleRecoveries(HBCK2.java:599)
at org.apache.hbase.HBCK2.doCommandLine(HBCK2.java:1258)
at org.apache.hbase.HBCK2.run(HBCK2.java:1136)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:82)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:97)
at org.apache.hbase.HBCK2.main(HBCK2.java:1533)
2025-09-30T10:11:33,560 INFO [Registry-endpoints-refresh-end-points {}]
client.RegistryEndpointsRefresher: Registry end points refresher loop
exited.{noformat}
was:
The scheduleRecoveries in HBCK does not work with HBase 3.0.
The
{{List<Long> scheduleServerCrashProcedure(List<HBaseProtos.ServerName>
serverNames)}} method got deprecated and removed from HBase 3.
{noformat}
$ bin/hbase hbck -j
~/tmp/hbase-operator-tools-1.3.0RC0/hbase-operator-tools-1.3.0/hbase-hbck2/hbase-hbck2-1.3.0.jar
scheduleRecoveries 192.168.1.121,16020,1759219597019SLF4J: Class path contains
multiple SLF4J bindings.SLF4J: Found binding in
[jar:file:/Users/psomogyi/tmp/hbase-operator-tools-1.3.0RC0/hbase-operator-tools-1.3.0/hbase-hbck2/hbase-hbck2-1.3.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J:
Found binding in
[jar:file:/Users/psomogyi/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.17.2/log4j-slf4j-impl-2.17.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J:
See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.SLF4J: Actual binding is of type
[org.apache.logging.slf4j.Log4jLoggerFactory]WARNING:
sun.reflect.Reflection.getCallerClass is not supported. This will impact
performance.2025-09-30T10:11:33,291 WARN [main {}] util.NativeCodeLoader:
Unable to load native-hadoop library for your platform... using builtin-java
classes where applicable2025-09-30T10:11:33,546 INFO
[RPCClient-NioEventLoopGroup-1-2 {}] Configuration.deprecation:
hbase.client.pause.cqtbe is deprecated. Instead, use
hbase.client.pause.server.overloaded2025-09-30T10:11:33,558 INFO [main {}]
client.AsyncConnectionImpl: Connection has been closed by main.Exception in
thread "main" java.lang.NoSuchMethodError: 'java.util.List
org.apache.hadoop.hbase.client.Hbck.scheduleServerCrashProcedure(java.util.List)'
at org.apache.hbase.HBCK2.scheduleRecoveries(HBCK2.java:599) at
org.apache.hbase.HBCK2.doCommandLine(HBCK2.java:1258) at
org.apache.hbase.HBCK2.run(HBCK2.java:1136) at
org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:82) at
org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:97) at
org.apache.hbase.HBCK2.main(HBCK2.java:1533)2025-09-30T10:11:33,560 INFO
[Registry-endpoints-refresh-end-points {}] client.RegistryEndpointsRefresher:
Registry end points refresher loop exited. {noformat}
> HBCK scheduleRecoveries incompatible with HBase 3
> -------------------------------------------------
>
> Key: HBASE-29635
> URL: https://issues.apache.org/jira/browse/HBASE-29635
> Project: HBase
> Issue Type: Bug
> Components: hbase-operator-tools
> Affects Versions: hbase-operator-tools-1.3.0
> Reporter: Peter Somogyi
> Priority: Blocker
>
> The scheduleRecoveries in HBCK does not work with HBase 3.0.
> The
> {{List<Long> scheduleServerCrashProcedure(List<HBaseProtos.ServerName>
> serverNames)}} method got deprecated and removed from HBase 3.
> {noformat}
> $ bin/hbase hbck -j
> ~/tmp/hbase-operator-tools-1.3.0RC0/hbase-operator-tools-1.3.0/hbase-hbck2/hbase-hbck2-1.3.0.jar
> scheduleRecoveries 192.168.1.121,16020,1759219597019
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/Users/psomogyi/tmp/hbase-operator-tools-1.3.0RC0/hbase-operator-tools-1.3.0/hbase-hbck2/hbase-hbck2-1.3.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/Users/psomogyi/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.17.2/log4j-slf4j-impl-2.17.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
> WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will
> impact performance.
> 2025-09-30T10:11:33,291 WARN [main {}] util.NativeCodeLoader: Unable to load
> native-hadoop library for your platform... using builtin-java classes where
> applicable
> 2025-09-30T10:11:33,546 INFO [RPCClient-NioEventLoopGroup-1-2 {}]
> Configuration.deprecation: hbase.client.pause.cqtbe is deprecated. Instead,
> use hbase.client.pause.server.overloaded
> 2025-09-30T10:11:33,558 INFO [main {}] client.AsyncConnectionImpl:
> Connection has been closed by main.
> Exception in thread "main" java.lang.NoSuchMethodError: 'java.util.List
> org.apache.hadoop.hbase.client.Hbck.scheduleServerCrashProcedure(java.util.List)'
> at org.apache.hbase.HBCK2.scheduleRecoveries(HBCK2.java:599)
> at org.apache.hbase.HBCK2.doCommandLine(HBCK2.java:1258)
> at org.apache.hbase.HBCK2.run(HBCK2.java:1136)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:82)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:97)
> at org.apache.hbase.HBCK2.main(HBCK2.java:1533)
> 2025-09-30T10:11:33,560 INFO [Registry-endpoints-refresh-end-points {}]
> client.RegistryEndpointsRefresher: Registry end points refresher loop
> exited.{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)