You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Masatake Iwasaki (Jira)" <ji...@apache.org> on 2020/02/07 05:22:00 UTC

[jira] [Commented] (BIGTOP-3303) Fix build failure of hbase-1.5.0 on Ubuntu

    [ https://issues.apache.org/jira/browse/BIGTOP-3303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17032113#comment-17032113 ] 

Masatake Iwasaki commented on BIGTOP-3303:
------------------------------------------

The command line invoked by {{do-component-build}} is looks like the following. The error was reproduced I run it by hand.
{noformat}
$ mvn -DskipTests -Dslf4j.version=1.7.25 -Dhadoop-two.version=2.10.0 -Dzookeeper.version=3.4.13 -Dcheckstyle.skip=true -Dadditionalparam=-Xdoclint:none clean install site assembly:single
{noformat}
Removing {{site}} phase fixed the issue.
{noformat}
$ mvn -DskipTests -Dslf4j.version=1.7.25 -Dhadoop-two.version=2.10.0 -Dzookeeper.version=3.4.13 -Dcheckstyle.skip=true -Dadditionalparam=-Xdoclint:none clean install assembly:single
{noformat}
This looks like the issue around maven as reported in [HBase ML|https://lists.apache.org/thread.html/0c39364a2949fab134107eaf164723e09d895b3eb2c16610b841e033%40%3Cuser.hbase.apache.org%3E] and HBASE-21513 (and BIGTOP-3283). The error can be reproduced on Ubuntu 18.04 but not on CentOS 7 for me. While the root cause is unclear, workaround is separating {{site}} from other phases.

> Fix build failure of hbase-1.5.0 on Ubuntu
> ------------------------------------------
>
>                 Key: BIGTOP-3303
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3303
>             Project: Bigtop
>          Issue Type: Bug
>          Components: hbase
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Major
>
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:testCompile (default-testCompile) on project hbase-server: Compilation failure: Compilation failure: 
> [ERROR] /home/ubuntu/bigtop/output/hbase/hbase-1.5.0/hbase-server/src/test/java/org/apache/hadoop/hbase/security/token/TestGenerateDelegationToken.java:[20,1] cannot find symbol
> [ERROR]   symbol:   static containsString
> [ERROR]   location: class
> [ERROR] /home/ubuntu/bigtop/output/hbase/hbase-1.5.0/hbase-server/src/test/java/org/apache/hadoop/hbase/security/token/TestGenerateDelegationToken.java:[106,11] cannot find symbol
> [ERROR]   symbol:   method containsString(java.lang.String)
> [ERROR]   location: class org.apache.hadoop.hbase.security.token.TestGenerateDelegationToken
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)