You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (Jira)" <ji...@apache.org> on 2019/09/06 22:52:00 UTC

[jira] [Updated] (HBASE-22712) [HBCK2] Fixes so it can work against hbase3

     [ https://issues.apache.org/jira/browse/HBASE-22712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-22712:
--------------------------
        Parent: HBASE-22977
    Issue Type: Sub-task  (was: Bug)

> [HBCK2] Fixes so it can work against hbase3
> -------------------------------------------
>
>                 Key: HBASE-22712
>                 URL: https://issues.apache.org/jira/browse/HBASE-22712
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: stack
>            Priority: Major
>             Fix For: 3.0.0
>
>
> hbck2 will need work to go against hbase3.
> e.g.:
> {code}
> $ HBASE_CLASSPATH_PREFIX=../hbase-operator-tools/hbase-hbck2/target/hbase-hbck2-1.0.0-SNAPSHOT.jar bin/hbase org.apache.hbase.HBCK2 setTableState hbase:namespace ENABLED
> ...
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/client/ClusterConnection
> 	at org.apache.hbase.HBCK2.connect(HBCK2.java:466)
> 	at org.apache.hbase.HBCK2.doCommandLine(HBCK2.java:484)
> 	at org.apache.hbase.HBCK2.run(HBCK2.java:457)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
> 	at org.apache.hbase.HBCK2.main(HBCK2.java:596)
> Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.client.ClusterConnection
> 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
> 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
> 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
> 	... 6 more
> {code}
> Or the fact that namespace is not integrated into hbase:meta.
> Or that methods in hbck Interface that include pb will be removed in hbase3.
> TODO. Not important yet.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)