For help with vendor specific builds of HBase you should reach out to that vendor.
Did you already try passing the "bypass version check" flag to the invocation of the pre-built HBCK2? On Tue, Oct 15, 2019 at 7:28 AM 青椒肉丝 <[email protected]> wrote: > hi ,busbey > > The reason I want to compile the HBase operator tools package myself is > that I can't execute HBCK commands using the existing jar package,I > downloaded the executable bin package from the following address,But when I > execute the bypass command, I get an error as follows > commond : hbase hbck -j > /packages/hbase-operator-tools-1.0.0/hbase-hbck2/hbase-hbck2-1.0.0.jar > bypass -o 993 > “ > Exception in thread "main" java.lang.UnsupportedOperationException: bypass > not supported on server version=2.1.0-cdh6.1.0; needs at least a server > that matches or exceeds [2.0.3, 2.1.1, 2.2.0, 3.0.0] > at org.apache.hbase.HBCK2.checkHBCKSupport(HBCK2.java:134) > at org.apache.hbase.HBCK2.bypass(HBCK2.java:335) > at org.apache.hbase.HBCK2.doCommandLine(HBCK2.java:686) > at org.apache.hbase.HBCK2.run(HBCK2.java:631) > 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:865) > ” > > So I want to compile the jar package that HBase 2.1.0 can use. But I > download the SRC package from the above image address and compile it. The > following errors will still be reported. Can HBase 2.1.0-cdh 6.1.0 not use > HBCK2? > “ > [INFO] Apache HBase Operator Tools ........................ SUCCESS [ > 1.584 s] > [INFO] Apache HBase - HBCK2 ............................... FAILURE [ > 23.380 s] > [INFO] Apache HBase Operator Tools - Assembly ............. SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 25.196 s > [INFO] Finished at: 2019-10-15T19:49:33+08:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile > (default-compile) on project hbase-hbck2: Compilation failure: Compilation > failure: > [ERROR] > /home/cdcshaod/packages/hbase-operator-tools-1.0.0/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[49,38] > cannot find symbol > [ERROR] symbol: class Hbck > [ERROR] location: package org.apache.hadoop.hbase.client > [ERROR] > /home/cdcshaod/packages/hbase-operator-tools-1.0.0/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[139,28] > cannot find symbol > [ERROR] symbol: class Hbck > [ERROR] location: class org.apache.hbase.HBCK2 > [ERROR] > /home/cdcshaod/packages/hbase-operator-tools-1.0.0/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[266,22] > cannot find symbol > [ERROR] symbol: class Hbck > [ERROR] location: class org.apache.hbase.HBCK2 > [ERROR] > /home/cdcshaod/packages/hbase-operator-tools-1.0.0/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[283,24] > cannot find symbol > [ERROR] symbol: class Hbck > [ERROR] location: class org.apache.hbase.HBCK2 > [ERROR] > /home/cdcshaod/packages/hbase-operator-tools-1.0.0/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[340,33] > cannot find symbol > [ERROR] symbol: class Hbck > [ERROR] location: class org.apache.hbase.HBCK2 > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :hbase-hbck2 > ” > ------------------ 原始邮件 ------------------ > *发件人:* "busbey"<[email protected]>; > *发送时间:* 2019年10月14日(星期一) 晚上9:21 > *收件人:* "Hbase-User"<[email protected]>; > *主题:* Re: Failure to compile package hbase-operator-tools > > Hi! > > Git holds the in progress work of the project and isn't intended for > downstream use. Please try to use the published hbase-operator-tools and > let us know if you have an issue. You can find a link to the current > release on our downloads page: > > http://hbase.apache.org/downloads.html > > > Alternatively, feel free to subscribe to [email protected] and bring up > any issues you have trying to work with the in progress stuff. > > On Mon, Oct 14, 2019, 02:50 DavdShao <[email protected]> wrote: > > > hi guys, > > When I compiled the toolkit downloaded from gitup, the > > display failed. > > My commands are as follows: > > git clone > > https://github.com/apache/hbase-operator-tools.git > >   <https://github.com/apache/hbase-operator-tools.git >; > > cd hbase-operator-tools > > vi pom.xml (Modify HBase version configuration) > > mvn clean package > > > > > > But after the "mvn clean ..." command is executed, the error is reported > > as follows > > > > > > " INFO] Apache HBase Operator Tools ........................ > SUCCESS > > [ 3.644 s] > > [INFO] Apache HBase - HBCK2 ............................... FAILURE > > [ 6.522 s] > > [INFO] Apache HBase Operator Tools - Assembly ............. SKIPPED > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 10.347 s > > [INFO] Finished at: 2019-10-14T15:29:27+08:00 > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile > > (default-compile) on project hbase-hbck2: Compilation failure: > Compilation > > failure: > > [ERROR] > > > /home/cdcshaod/packages/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[49,38] > > cannot find symbol > > [ERROR] symbol: class Hbck > > [ERROR] location: package org.apache.hadoop.hbase.client > > [ERROR] > > > /home/cdcshaod/packages/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[138,28] > > cannot find symbol > > [ERROR] symbol: class Hbck > > [ERROR] location: class org.apache.hbase.HBCK2 > > [ERROR] > > > /home/cdcshaod/packages/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[267,22] > > cannot find symbol > > [ERROR] symbol: class Hbck > > [ERROR] location: class org.apache.hbase.HBCK2 > > [ERROR] > > > /home/cdcshaod/packages/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[284,24] > > cannot find symbol > > [ERROR] symbol: class Hbck > > [ERROR] location: class org.apache.hbase.HBCK2 > > [ERROR] > > > /home/cdcshaod/packages/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[341,33] > > cannot find symbol > > [ERROR] symbol: class Hbck > > [ERROR] location: class org.apache.hbase.HBCK2 > > [ERROR] -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the > > -e switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > > please read the following articles: > > [ERROR] [Help 1] > > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > > [ERROR] > > [ERROR] After correcting the problems, you can resume the build with the > > command > > [ERROR] mvn <goals> -rf :hbase-hbck2 > > " > > > > > > I wonder if you have ever encountered such a mistake. > > > > > > > > > > > > > > DavidShao > > > > > > > >
