You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Kengo Seki (Jira)" <ji...@apache.org> on 2020/01/31 10:41:00 UTC

[jira] [Comment Edited] (BIGTOP-3299) Fix Zookeeper build to make other build success

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

Kengo Seki edited comment on BIGTOP-3299 at 1/31/20 10:40 AM:
--------------------------------------------------------------

{{./gradlew zookeeper-pkg}} [installs the generated jars into the local maven repository|https://github.com/apache/bigtop/blob/ab8208768ce93c7c5ef119779e179e86dec3ac81/bigtop-packages/src/common/zookeeper/do-component-build#L30-L31], but {{mvn install:install-file}} without {{-DpomFile}} puts an empty pom file there. It causes the succeeding javadoc failure, because mvn can't find the libraries on which zookeeper depends with that pom.


was (Author: sekikn):
{{./gradlew zookeeper-pkg}} [installs the generated jars into the local maven repository|https://github.com/apache/bigtop/blob/ab8208768ce93c7c5ef119779e179e86dec3ac81/bigtop-packages/src/common/zookeeper/do-component-build#L30-L31], but {{mvn install:install-file}} without {{-DpomFile}} puts an empty pom file there. It causes the succeeding build failure, because mvn can't find the libraries on which zookeeper depends with that pom.

> Fix Zookeeper build to make other build success
> -----------------------------------------------
>
>                 Key: BIGTOP-3299
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3299
>             Project: Bigtop
>          Issue Type: Bug
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> After merging BIGTOP-3279, building Zookeeper causes other components' build failure, as follows:
> {code}
> $ ./gradlew hadoop-pkg -Dbuildwithdeps=true
> (snip)
> [INFO] --- maven-javadoc-plugin:2.8.1:jar (module-javadocs) @ hadoop-common ---
> [INFO]                                                                                                                                              
> ExcludePrivateAnnotationsStandardDoclet                            
> 1 error                                                                        
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:                                            
> [INFO]                                                                         
> [INFO] Apache Hadoop Main 2.10.0 .......................... SUCCESS [02:50 min]                                                                               
> [INFO] Apache Hadoop Build Tools .......................... SUCCESS [ 48.946 s]
> [INFO] Apache Hadoop Project POM .......................... SUCCESS [ 45.302 s]                             
> [INFO] Apache Hadoop Annotations .......................... SUCCESS [ 16.140 s]
> [INFO] Apache Hadoop Assemblies ........................... SUCCESS [  0.348 s]
> [INFO] Apache Hadoop Project Dist POM ..................... SUCCESS [ 27.517 s]
> [INFO] Apache Hadoop Maven Plugins ........................ SUCCESS [ 26.130 s]
> [INFO] Apache Hadoop MiniKDC .............................. SUCCESS [03:44 min]
> [INFO] Apache Hadoop Auth ................................. SUCCESS [02:08 min]
> [INFO] Apache Hadoop Auth Examples ........................ SUCCESS [  8.982 s]
> [INFO] Apache Hadoop Common ............................... FAILURE [03:10 min]
> [INFO] Apache Hadoop NFS .................................. SKIPPED
> (snip)
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15:34 min
> [INFO] Finished at: 2020-01-31T05:59:20Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar (module-javadocs) on project hadoop-common: MavenReportException: Error
>  while creating archive:
> [ERROR] Exit code: 1 - javadoc: error - class file for org.apache.yetus.audience.InterfaceAudience not found
> [ERROR]
> [ERROR] Command line was: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.232.b09-2.el8_1.x86_64/jre/../bin/javadoc -J-Xmx768m @options @packages
> [ERROR]
> [ERROR] Refer to the generated Javadoc files in '/home/vagrant/bigtop/build/hadoop/rpm/BUILD/hadoop-2.10.0-src/hadoop-common-project/hadoop-common/target' dir
> .
> {code}



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