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

Robert Metzger commented on FLINK-35154:
----------------------------------------

[~samrat007] based on the PR attached to this Jira ticket, Flink is currently 
using the javadoc plugin v2.9.1.
The PR suggests to go to 2.10.4, you are suggesting to go to 3.7.0.
I would like to understand 
(a) what is the difference in javadoc 2.x vs 3.x. I'm afraid such a major 
version bump might cause other issues.
(b) Why is our javadocs page broken, while the GitHub Actions CI run I've 
posted above is running successfully: 
https://github.com/apache/flink/actions/runs/9848601763/job/27190828070. I 
would like to first understand the issue, before bumping the version. Maybe the 
issue with the Flink docs not being shown has nothing to do with the javadoc 
version or the build failure you are seeing locally.

> Javadoc aggregate fails
> -----------------------
>
>                 Key: FLINK-35154
>                 URL: https://issues.apache.org/jira/browse/FLINK-35154
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Dmitriy Linevich
>            Priority: Minor
>              Labels: pull-request-available
>
> Javadoc plugin fails with error. Using
> {code:java}
> javadoc:aggregate{code}
> ERROR:
> {code:java}
> [WARNING] The requested profile "include-hadoop" could not be activated 
> because it does not exist.
> [WARNING] The requested profile "arm" could not be activated because it does 
> not exist.
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:aggregate (default-cli) 
> on project flink-parent: An error has occurred in JavaDocs report generation: 
> [ERROR] Exit code: 1 - 
> /{flinkProjectDir}/flink-end-to-end-tests/flink-confluent-schema-registry/target/generated-sources/example/avro/EventType.java:8:
>  error: type GenericEnumSymbol does not take parameters
> [ERROR] public enum EventType implements 
> org.apache.avro.generic.GenericEnumSymbol<EventType> {
> [ERROR]    {code}
>  
> For our flink 1.17 ERROR
> {code:java}
> [ERROR] 
> /{flinkProjectDir}/flink-connectors/flink-sql-connector-hive-3.1.3/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java:21:
>  error: cannot find symbol
> [ERROR] import static 
> org.apache.hadoop.hive.metastore.Warehouse.DEFAULT_DATABASE_NAME;
> [ERROR] ^
> [ERROR]   symbol:   static DEFAULT_DATABASE_NAME
> [ERROR]   location: class{code}
>  
> Need to increase version of javadoc plugin from 2.9.1 to 2.10.4 (In current 
> version exists bug same with 
> [this|https://github.com/checkstyle/checkstyle/issues/291])



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to