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

Duo Zhang commented on HBASE-22222:
-----------------------------------

{quote}
So, protobuf-util, a jar apart from protobuf, uses error prone annotations. In 
third-party build, we shade using com.google pattern so the error prone gets 
shaded. The addition of the Immutable annotation to protobuf-util, the 
dependency on errorprone, is new since our previous thirdparty release*. When 
we go to build user javadoc api, we're trying to load the protobuf-util and 
missing the error prone annotation – it is explicitly not included.
{quote}

Not fully understand here. So we shade the error prone annotation in 
hbase-shaded-miscellaneous, but the javadoc plugin will try to load the 
unshaded version of error prone annotation? Why?

> 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