HDFS-10387. DataTransferProtocol#writeBlock missing some javadocs (John Zhuge via lei)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/d5f5a647 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/d5f5a647 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/d5f5a647 Branch: refs/heads/YARN-2915 Commit: d5f5a6475b19a52bf54f97cd8843408265b888f0 Parents: ad256be Author: Lei Xu <[email protected]> Authored: Tue Jul 12 16:16:03 2016 -0700 Committer: Lei Xu <[email protected]> Committed: Tue Jul 12 16:16:03 2016 -0700 ---------------------------------------------------------------------- .../hadoop/hdfs/protocol/datatransfer/DataTransferProtocol.java | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/d5f5a647/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/DataTransferProtocol.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/DataTransferProtocol.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/DataTransferProtocol.java index 94f8906..6c5883c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/DataTransferProtocol.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/DataTransferProtocol.java @@ -94,6 +94,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 */ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
