HDFS-15507. [JDK 11] Fix javadoc errors in hadoop-hdfs-client module. Contributed by Xieming Li.

(cherry picked from commit 32895f4f7e)
This commit is contained in:
Akira Ajisaka 2020-08-11 13:49:56 +09:00 committed by Wei-Chiu Chuang
parent c4f7b8578b
commit a407f7de5a
3 changed files with 4 additions and 3 deletions

View File

@ -29,7 +29,7 @@ import java.util.concurrent.atomic.LongAccumulator;
/**
* Global State Id context for the client.
* <p/>
* <p>
* This is the client side implementation responsible for receiving
* state alignment info from server(s).
*/

View File

@ -1245,7 +1245,7 @@ public class DFSClient implements java.io.Closeable, RemotePeerFactory,
/**
* Same as {@link #create(String, FsPermission, EnumSet, boolean, short, long,
* addition of Progressable, int, ChecksumOpt, InetSocketAddress[], String)}
* Progressable, int, ChecksumOpt, InetSocketAddress[], String)}
* with the storagePolicy that is used to specify a specific storage policy
* instead of inheriting any policy from this new file's parent directory.
* This policy will be persisted in HDFS. A value of null means inheriting

View File

@ -22,6 +22,7 @@ import java.util.Map;
import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hdfs.client.HdfsClientConfigKeys;
import org.apache.hadoop.util.StringUtils;
@InterfaceAudience.Private
@ -110,7 +111,7 @@ public final class HdfsConstants {
* period, no other client can write to the file. The writing client can
* periodically renew the lease. When the file is closed, the lease is
* revoked. The lease duration is bound by this soft limit and a
* {@link HdfsConstants#LEASE_HARDLIMIT_PERIOD hard limit}. Until the
* {@link HdfsClientConfigKeys#DFS_LEASE_HARDLIMIT_KEY }. Until the
* soft limit expires, the writer has sole write access to the file. If the
* soft limit expires and the client fails to close the file or renew the
* lease, another client can preempt the lease.