Browse Source

HDFS-10387. DataTransferProtocol#writeBlock missing some javadocs (John Zhuge via lei)

(cherry picked from commit d5f5a6475b19a52bf54f97cd8843408265b888f0)
Lei Xu 9 years ago
parent
commit
715734c9a3

+ 5 - 0
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/DataTransferProtocol.java

@@ -93,6 +93,11 @@ public interface DataTransferProtocol {
    * @param minBytesRcvd minimum number of bytes received.
    * @param maxBytesRcvd maximum number of bytes received.
    * @param latestGenerationStamp the latest generation stamp of the block.
+   * @param requestedChecksum the requested checksum mechanism
+   * @param cachingStrategy the caching strategy
+   * @param allowLazyPersist hint to the DataNode that the block can be
+   *                         allocated on transient storage i.e. memory and
+   *                         written to disk lazily
    * @param pinning whether to pin the block, so Balancer won't move it.
    * @param targetPinnings whether to pin the block on target datanode
    */