You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2019/07/18 18:05:00 UTC

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

stack created HBASE-22712:
-----------------------------

             Summary: [HBCK2] Fixes so it can work against hbase3
                 Key: HBASE-22712
                 URL: https://issues.apache.org/jira/browse/HBASE-22712
             Project: HBase
          Issue Type: Bug
            Reporter: stack
             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
(v7.6.14#76016)