slfan1989 commented on PR #4419: URL: https://github.com/apache/hadoop/pull/4419#issuecomment-1152808552
> The latest build seems throw some warning. Try to trigger jenkins again. Let's wait what it will say. Hi, @Hexiaoqiao Thank you very much for your help in reviewing the code. I read the compilation report carefully and can confirm that the compilation error of java doc has nothing to do with this pr. java doc has become more strict in the compilation environment of jdk11, java doc will be run 2 times after a pr commit. 1st run Compile the code of the current trunk directly,We can see the following report. [hadoop-hdfs in trunk failed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1.]([/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-11.0.15+10-Ubuntu-0ubuntu0.20.04.1.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4419/4/artifact/out/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-11.0.15+10-Ubuntu-0ubuntu0.20.04.1.txt)) 2nd run Compile and run after merge pr,We can see the following report. [hadoop-hdfs in the patch failed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1.](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4419/4/artifact/out/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-11.0.15+10-Ubuntu-0ubuntu0.20.04.1.txt) In 2 runs will report the following error ``` 1 error 100 warnings [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 38.067 s [INFO] Finished at: 2022-06-10T14:10:17Z [INFO] ------------------------------------------------------------------------ .... [ERROR] /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4419/ubuntu-focal/src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/startupprogress/package-info.java:20: error: reference not found [ERROR] * This package provides a mechanism for tracking {@link NameNode} startup ``` I try to fix it in this pr(https://github.com/apache/hadoop/pull/4423), after solving the error, the java doc can be compiled successfully with jdk11. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
