Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15506

[JDK 11] Fix javadoc errors in hadoop-hdfs module

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: documentation
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      [ERROR] /Users/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeAdminDefaultMonitor.java:43: error: self-closing element not allowed
      [ERROR]  * <p/>
      [ERROR]    ^
      [ERROR] /Users/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java:682: error: malformed HTML
      [ERROR]    * a NameNode per second. Values <= 0 disable throttling. This affects
      [ERROR]                                    ^
      [ERROR] /Users/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSUtil.java:1780: error: exception not thrown: java.io.FileNotFoundException
      [ERROR]    * @throws FileNotFoundException
      [ERROR]              ^
      [ERROR] /Users/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/DirectorySnapshottableFeature.java:176: error: @param name not found
      [ERROR]    * @param mtime The snapshot creation time set by Time.now().
      [ERROR]             ^
      [ERROR] /Users/aajisaka/git/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java:2187: error: exception not thrown: java.lang.Exception
      [ERROR]    * @exception Exception if the filesystem does not exist.
      [ERROR]                 ^
      

      Full error log: https://gist.github.com/aajisaka/a0c16f0408a623e798dd7df29fbddf82

      How to reproduce the failure:

      • Remove <javadoc.skip.jdk11>true</javadoc.skip.jdk11> from pom.xml
      • Run mvn process-sources javadoc:javadoc-no-fork

        Attachments

        1. HDFS-15506.001.patch
          4 kB
          Xieming Li
        2. HDFS-15506.002.patch
          5 kB
          Xieming Li

        Issue Links

          Activity

            People

            • Assignee:
              risyomei Xieming Li
              Reporter:
              aajisaka Akira Ajisaka

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment