瀏覽代碼

HDFS-15639. [JDK 11] Fix Javadoc errors in hadoop-hdfs-client. (#2394)

Takanobu Asanuma 4 年之前
父節點
當前提交
30f06e0c74

+ 2 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java

@@ -866,7 +866,8 @@ public abstract class AbstractFileSystem implements PathCapabilities {
 
   /**
    * Synchronize client metadata state.
-   * <p/>In some FileSystem implementations such as HDFS metadata
+   * <p>
+   * In some FileSystem implementations such as HDFS metadata
    * synchronization is essential to guarantee consistency of read requests
    * particularly in HA setting.
    * @throws IOException

+ 2 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java

@@ -2677,7 +2677,8 @@ public abstract class FileSystem extends Configured
 
   /**
    * Synchronize client metadata state.
-   * <p/>In some FileSystem implementations such as HDFS metadata
+   * <p>
+   * In some FileSystem implementations such as HDFS metadata
    * synchronization is essential to guarantee consistency of read requests
    * particularly in HA setting.
    * @throws IOException

+ 2 - 1
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/fs/Hdfs.java

@@ -156,7 +156,8 @@ public class Hdfs extends AbstractFileSystem {
 
   /**
    * Synchronize client metadata state with Active NameNode.
-   * <p/>In HA the client synchronizes its state with the Active NameNode
+   * <p>
+   * In HA the client synchronizes its state with the Active NameNode
    * in order to guarantee subsequent read consistency from Observer Nodes.
    * @throws IOException
    */

+ 2 - 1
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java

@@ -1769,7 +1769,8 @@ public class DistributedFileSystem extends FileSystem
 
   /**
    * Synchronize client metadata state with Active NameNode.
-   * <p/>In HA the client synchronizes its state with the Active NameNode
+   * <p>
+   * In HA the client synchronizes its state with the Active NameNode
    * in order to guarantee subsequent read consistency from Observer Nodes.
    * @throws IOException
    */