HDFS-15506. [JDK 11] Fix javadoc errors in hadoop-hdfs module. Contributed by Xieming Li.
This commit is contained in:
parent
9062814bab
commit
7938ebfb9d
@ -32,7 +32,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|||||||
<properties>
|
<properties>
|
||||||
<hadoop.component>hdfs</hadoop.component>
|
<hadoop.component>hdfs</hadoop.component>
|
||||||
<is.hadoop.component>true</is.hadoop.component>
|
<is.hadoop.component>true</is.hadoop.component>
|
||||||
<javadoc.skip.jdk11>true</javadoc.skip.jdk11>
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@ -685,7 +685,7 @@ public class DFSConfigKeys extends CommonConfigurationKeys {
|
|||||||
600;
|
600;
|
||||||
/**
|
/**
|
||||||
* The maximum number of getBlocks RPCs data movement utilities can make to
|
* The maximum number of getBlocks RPCs data movement utilities can make to
|
||||||
* a NameNode per second. Values <= 0 disable throttling. This affects
|
* a NameNode per second. Values <= 0 disable throttling. This affects
|
||||||
* anything that uses a NameNodeConnector, i.e., the Balancer, Mover,
|
* anything that uses a NameNodeConnector, i.e., the Balancer, Mover,
|
||||||
* and StoragePolicySatisfier.
|
* and StoragePolicySatisfier.
|
||||||
*/
|
*/
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
|
|
||||||
import java.io.ByteArrayInputStream;
|
import java.io.ByteArrayInputStream;
|
||||||
import java.io.DataInputStream;
|
import java.io.DataInputStream;
|
||||||
import java.io.FileNotFoundException;
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.PrintStream;
|
import java.io.PrintStream;
|
||||||
import java.net.InetAddress;
|
import java.net.InetAddress;
|
||||||
@ -1777,7 +1776,6 @@ public static DelegationTokenIdentifier decodeDelegationToken(
|
|||||||
* was found.
|
* was found.
|
||||||
* @throws ParentNotDirectoryException
|
* @throws ParentNotDirectoryException
|
||||||
* @throws UnresolvedLinkException
|
* @throws UnresolvedLinkException
|
||||||
* @throws FileNotFoundException
|
|
||||||
*/
|
*/
|
||||||
public static void checkProtectedDescendants(
|
public static void checkProtectedDescendants(
|
||||||
FSDirectory fsd, INodesInPath iip)
|
FSDirectory fsd, INodesInPath iip)
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
/**
|
/**
|
||||||
* Checks to see if datanodes have finished DECOMMISSION_INPROGRESS or
|
* Checks to see if datanodes have finished DECOMMISSION_INPROGRESS or
|
||||||
* ENTERING_MAINTENANCE state.
|
* ENTERING_MAINTENANCE state.
|
||||||
* <p/>
|
* <p>
|
||||||
* Since this is done while holding the namesystem lock,
|
* Since this is done while holding the namesystem lock,
|
||||||
* the amount of work per monitor tick is limited.
|
* the amount of work per monitor tick is limited.
|
||||||
*/
|
*/
|
||||||
|
@ -173,7 +173,8 @@ void addSnapshot(Snapshot snapshot) {
|
|||||||
* Add a snapshot.
|
* Add a snapshot.
|
||||||
* @param snapshotRoot Root of the snapshot.
|
* @param snapshotRoot Root of the snapshot.
|
||||||
* @param name Name of the snapshot.
|
* @param name Name of the snapshot.
|
||||||
* @param mtime The snapshot creation time set by Time.now().
|
* @param leaseManager
|
||||||
|
* @param captureOpenFiles
|
||||||
* @throws SnapshotException Throw SnapshotException when there is a snapshot
|
* @throws SnapshotException Throw SnapshotException when there is a snapshot
|
||||||
* with the same name already exists or snapshot quota exceeds
|
* with the same name already exists or snapshot quota exceeds
|
||||||
*/
|
*/
|
||||||
|
@ -2184,7 +2184,6 @@ private static void printUsage(String cmd) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param argv The parameters passed to this program.
|
* @param argv The parameters passed to this program.
|
||||||
* @exception Exception if the filesystem does not exist.
|
|
||||||
* @return 0 on success, non zero on error.
|
* @return 0 on success, non zero on error.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user