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

stack commented on HBASE-22222:
-------------------------------

I tried doing this in thirdparty

commit 37c3b32c5907040ac6b590058fc2b056f9849ce8
Author: stack <[email protected]>
Date:   Fri Apr 12 15:42:44 2019 -0700

    HBASE-22222 Site build fails after hbase-thirdparty upgrade

diff --git a/hbase-shaded-miscellaneous/pom.xml 
b/hbase-shaded-miscellaneous/pom.xml
index 1e93600..2f2f572 100644
--- a/hbase-shaded-miscellaneous/pom.xml
+++ b/hbase-shaded-miscellaneous/pom.xml
@@ -160,6 +160,10 @@
           <groupId>com.google.protobuf</groupId>
           <artifactId>protobuf-java</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>com.google.errorprone</groupId>
+          <artifactId>error_prone_annotations</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>


... and then pushing a SNAPSHOT.

Failed in same place. The Immutable class must be referenced in 
protobuf-util... and our general relocation is relocating it too... (errorprone 
is not in thirdparty). Looks like we had this problem before with the class 
com.google.errorprone.annotations.CanIgnoreReturnValue and had special handling 
in place for it in shade of the miscellaneous submodule in thirdparty. Let me 
try same for Immutable.

> Site build fails after hbase-thirdparty upgrade
> -----------------------------------------------
>
>                 Key: HBASE-22222
>                 URL: https://issues.apache.org/jira/browse/HBASE-22222
>             Project: HBase
>          Issue Type: Bug
>          Components: website
>    Affects Versions: 3.0.0, 2.2.0
>            Reporter: Peter Somogyi
>            Assignee: Peter Somogyi
>            Priority: Critical
>             Fix For: 3.0.0
>
>
> After hbase-thirdparty upgrade the hbase_generate_website job is failing in 
> mvn site target on javadoc.
>  
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-site) on 
> project hbase: Error generating maven-javadoc-plugin:3.0.1:aggregate report:
> [ERROR] Exit code: 1 - 
> /home/jenkins/jenkins-slave/workspace/hbase_generate_website/hbase/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java:1034:
>  warning - Tag @link: can't find tagsIterator(Cell) in 
> org.apache.hadoop.hbase.CellUtil
> [ERROR] javadoc: error - class file for 
> org.apache.hbase.thirdparty.com.google.errorprone.annotations.Immutable not 
> found{noformat}
> After reverting thirdparty upgrade locally the site build passed. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to