Skip to content

Commit 32895f4

Browse files
committed
HDFS-15507. [JDK 11] Fix javadoc errors in hadoop-hdfs-client module. Contributed by Xieming Li.
1 parent 7938ebf commit 32895f4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

hadoop-hdfs-project/hadoop-hdfs-client/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
3131

3232
<properties>
3333
<hadoop.component>hdfs</hadoop.component>
34-
<javadoc.skip.jdk11>true</javadoc.skip.jdk11>
3534
</properties>
3635

3736
<dependencies>

hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/ClientGSIContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
/**
3131
* Global State Id context for the client.
32-
* <p/>
32+
* <p>
3333
* This is the client side implementation responsible for receiving
3434
* state alignment info from server(s).
3535
*/

hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ public DFSOutputStream create(String src, FsPermission permission,
12411241

12421242
/**
12431243
* Same as {@link #create(String, FsPermission, EnumSet, boolean, short, long,
1244-
* addition of Progressable, int, ChecksumOpt, InetSocketAddress[], String)}
1244+
* Progressable, int, ChecksumOpt, InetSocketAddress[], String)}
12451245
* with the storagePolicy that is used to specify a specific storage policy
12461246
* instead of inheriting any policy from this new file's parent directory.
12471247
* This policy will be persisted in HDFS. A value of null means inheriting

hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/HdfsConstants.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
import org.apache.hadoop.classification.InterfaceAudience;
2424
import org.apache.hadoop.fs.Path;
25+
import org.apache.hadoop.hdfs.client.HdfsClientConfigKeys;
2526
import org.apache.hadoop.util.StringUtils;
2627

2728
@InterfaceAudience.Private
@@ -158,7 +159,7 @@ public byte value() {
158159
* period, no other client can write to the file. The writing client can
159160
* periodically renew the lease. When the file is closed, the lease is
160161
* revoked. The lease duration is bound by this soft limit and a
161-
* {@link HdfsConstants#LEASE_HARDLIMIT_PERIOD hard limit}. Until the
162+
* {@link HdfsClientConfigKeys#DFS_LEASE_HARDLIMIT_KEY }. Until the
162163
* soft limit expires, the writer has sole write access to the file. If the
163164
* soft limit expires and the client fails to close the file or renew the
164165
* lease, another client can preempt the lease.

0 commit comments

Comments
 (0)