hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "青椒肉丝" <1336318...@qq.com>
Subject 回复: Failure to compile package hbase-operator-tools
Date Tue, 15 Oct 2019 12:10:48 GMT
hi ,busbey
&nbsp; &nbsp;&nbsp;
&nbsp; &nbsp;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)&nbsp; &nbsp;
”



So I want to compile the jar package that HBase 2.1.0 can use.&nbsp;But I download the
SRC package from the above image address and compile it.&nbsp;The following errors will
still be reported.&nbsp;Can HBase 2.1.0-cdh 6.1.0 not use HBCK2?
“
[INFO] Apache HBase Operator Tools ........................ SUCCESS [&nbsp; 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:&nbsp; 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:&nbsp;
[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]&nbsp; &nbsp;symbol:&nbsp; &nbsp;class Hbck
[ERROR]&nbsp; &nbsp;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]&nbsp; &nbsp;symbol:&nbsp; &nbsp;class Hbck
[ERROR]&nbsp; &nbsp;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]&nbsp; &nbsp;symbol:&nbsp; &nbsp;class Hbck
[ERROR]&nbsp; &nbsp;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]&nbsp; &nbsp;symbol:&nbsp; &nbsp;class Hbck
[ERROR]&nbsp; &nbsp;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]&nbsp; &nbsp;symbol:&nbsp; &nbsp;class Hbck
[ERROR]&nbsp; &nbsp;location: class org.apache.hbase.HBCK2
[ERROR] -&gt; [Help 1]
[ERROR]&nbsp;
[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]&nbsp;
[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]&nbsp;
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]&nbsp; &nbsp;mvn <goals&gt; -rf :hbase-hbck2

”
------------------&nbsp;原始邮件&nbsp;------------------
发件人:&nbsp;"busbey"<busbey@apache.org&gt;;
发送时间:&nbsp;2019年10月14日(星期一) 晚上9:21
收件人:&nbsp;"Hbase-User"<user@hbase.apache.org&gt;;

主题:&nbsp;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 dev@hbase.apache.org and bring up
any issues you have trying to work with the in progress stuff.

On Mon, Oct 14, 2019, 02:50 DavdShao <1336318109@qq.com&gt; wrote:

&gt; hi guys,
&gt; &amp;nbsp; &amp;nbsp; When I compiled the toolkit downloaded from gitup,
the
&gt; display failed.
&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;My commands are as follows:
&gt; &amp;nbsp; &amp;nbsp; git&amp;nbsp; clone&amp;nbsp;
&gt; https://github.com/apache/hbase-operator-tools.git
&gt; &amp;nbsp <https://github.com/apache/hbase-operator-tools.git&amp;nbsp&gt;;
&amp;nbsp;
&gt; cd hbase-operator-tools
&gt; &amp;nbsp; &amp;nbsp; vi pom.xml (Modify HBase version configuration)
&gt; &amp;nbsp; &amp;nbsp; mvn clean package
&gt;
&gt;
&gt; But after the "mvn clean ..." command is executed, the error is reported
&gt; as follows
&gt;
&gt;
&gt; "&amp;nbsp; INFO] Apache HBase Operator Tools ........................ SUCCESS
&gt; [&amp;nbsp; 3.644 s]
&gt; [INFO] Apache HBase - HBCK2 ............................... FAILURE
&gt; [&amp;nbsp; 6.522 s]
&gt; [INFO] Apache HBase Operator Tools - Assembly ............. SKIPPED
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [INFO] BUILD FAILURE
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [INFO] Total time:&amp;nbsp; 10.347 s
&gt; [INFO] Finished at: 2019-10-14T15:29:27+08:00
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [ERROR] Failed to execute goal
&gt; org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile
&gt; (default-compile) on project hbase-hbck2: Compilation failure: Compilation
&gt; failure:&amp;nbsp;
&gt; [ERROR]
&gt; /home/cdcshaod/packages/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[49,38]
&gt; cannot find symbol
&gt; [ERROR]&amp;nbsp; &amp;nbsp;symbol:&amp;nbsp; &amp;nbsp;class Hbck
&gt; [ERROR]&amp;nbsp; &amp;nbsp;location: package org.apache.hadoop.hbase.client
&gt; [ERROR]
&gt; /home/cdcshaod/packages/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[138,28]
&gt; cannot find symbol
&gt; [ERROR]&amp;nbsp; &amp;nbsp;symbol:&amp;nbsp; &amp;nbsp;class Hbck
&gt; [ERROR]&amp;nbsp; &amp;nbsp;location: class org.apache.hbase.HBCK2
&gt; [ERROR]
&gt; /home/cdcshaod/packages/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[267,22]
&gt; cannot find symbol
&gt; [ERROR]&amp;nbsp; &amp;nbsp;symbol:&amp;nbsp; &amp;nbsp;class Hbck
&gt; [ERROR]&amp;nbsp; &amp;nbsp;location: class org.apache.hbase.HBCK2
&gt; [ERROR]
&gt; /home/cdcshaod/packages/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[284,24]
&gt; cannot find symbol
&gt; [ERROR]&amp;nbsp; &amp;nbsp;symbol:&amp;nbsp; &amp;nbsp;class Hbck
&gt; [ERROR]&amp;nbsp; &amp;nbsp;location: class org.apache.hbase.HBCK2
&gt; [ERROR]
&gt; /home/cdcshaod/packages/hbase-operator-tools/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:[341,33]
&gt; cannot find symbol
&gt; [ERROR]&amp;nbsp; &amp;nbsp;symbol:&amp;nbsp; &amp;nbsp;class Hbck
&gt; [ERROR]&amp;nbsp; &amp;nbsp;location: class org.apache.hbase.HBCK2
&gt; [ERROR] -&amp;gt; [Help 1]
&gt; [ERROR]&amp;nbsp;
&gt; [ERROR] To see the full stack trace of the errors, re-run Maven with the
&gt; -e switch.
&gt; [ERROR] Re-run Maven using the -X switch to enable full debug logging.
&gt; [ERROR]&amp;nbsp;
&gt; [ERROR] For more information about the errors and possible solutions,
&gt; please read the following articles:
&gt; [ERROR] [Help 1]
&gt; http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
&gt; [ERROR]&amp;nbsp;
&gt; [ERROR] After correcting the problems, you can resume the build with the
&gt; command
&gt; [ERROR]&amp;nbsp; &amp;nbsp;mvn <goals&amp;gt; -rf :hbase-hbck2&amp;nbsp;
&amp;nbsp; &amp;nbsp;
&gt; &amp;nbsp;"
&gt;
&gt;
&gt; I wonder if you have ever encountered such a mistake.
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; DavidShao
&gt;
&gt;
&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;
Mime
  • Unnamed multipart/related (inline, 8-Bit, 0 bytes)
View raw message