From 30f06e0c742806c7b9edf00a92c98b1e9cfcb0e1 Mon Sep 17 00:00:00 2001 From: Takanobu Asanuma Date: Tue, 20 Oct 2020 19:08:59 +0900 Subject: [PATCH] HDFS-15639. [JDK 11] Fix Javadoc errors in hadoop-hdfs-client. (#2394) --- .../src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java | 3 ++- .../src/main/java/org/apache/hadoop/fs/FileSystem.java | 3 ++- .../src/main/java/org/apache/hadoop/fs/Hdfs.java | 3 ++- .../java/org/apache/hadoop/hdfs/DistributedFileSystem.java | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java index 7fe7bb2349..5796f23026 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java +++ b/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. - *

In some FileSystem implementations such as HDFS metadata + *

+ * In some FileSystem implementations such as HDFS metadata * synchronization is essential to guarantee consistency of read requests * particularly in HA setting. * @throws IOException diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java index dc3ddcc06e..9fffb8aa5b 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java +++ b/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. - *

In some FileSystem implementations such as HDFS metadata + *

+ * In some FileSystem implementations such as HDFS metadata * synchronization is essential to guarantee consistency of read requests * particularly in HA setting. * @throws IOException diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/fs/Hdfs.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/fs/Hdfs.java index 60ce8cd3de..b014222fea 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/fs/Hdfs.java +++ b/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. - *

In HA the client synchronizes its state with the Active NameNode + *

+ * In HA the client synchronizes its state with the Active NameNode * in order to guarantee subsequent read consistency from Observer Nodes. * @throws IOException */ diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java index 5d0665aee8..f1fd520f41 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java +++ b/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. - *

In HA the client synchronizes its state with the Active NameNode + *

+ * In HA the client synchronizes its state with the Active NameNode * in order to guarantee subsequent read consistency from Observer Nodes. * @throws IOException */