This is an automated email from the ASF dual-hosted git repository.
weichiu pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 3113a11 HDFS-16232. Fix java doc for BlockReaderRemote#newBlockReader
(#3456)
3113a11 is described below
commit 3113a119af8e6b40d13e42621c7ec5cb1af5bc6e
Author: litao <[email protected]>
AuthorDate: Fri Sep 24 13:14:25 2021 +0800
HDFS-16232. Fix java doc for BlockReaderRemote#newBlockReader (#3456)
---
.../hadoop/hdfs/client/impl/BlockReaderRemote.java | 23 +++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git
a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/client/impl/BlockReaderRemote.java
b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/client/impl/BlockReaderRemote.java
index f25f50c..db1f6f5 100644
---
a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/client/impl/BlockReaderRemote.java
+++
b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/client/impl/BlockReaderRemote.java
@@ -375,15 +375,20 @@ public class BlockReaderRemote implements BlockReader {
* Create a new BlockReader specifically to satisfy a read.
* This method also sends the OP_READ_BLOCK request.
*
- * @param file File location
- * @param block The block object
- * @param blockToken The block token for security
- * @param startOffset The read offset, relative to block head
- * @param len The number of bytes to read
- * @param verifyChecksum Whether to verify checksum
- * @param clientName Client name
- * @param peer The Peer to use
- * @param datanodeID The DatanodeID this peer is connected to
+ * @param file File location.
+ * @param block The block object.
+ * @param blockToken The block token for security.
+ * @param startOffset The read offset, relative to block head.
+ * @param len The number of bytes to read.
+ * @param verifyChecksum Whether to verify checksum.
+ * @param clientName Client name.
+ * @param peer The Peer to use.
+ * @param datanodeID The DatanodeID this peer is connected to.
+ * @param peerCache Caches TCP and UNIX domain sockets for reuse.
+ * @param cachingStrategy Caching strategy to use when reading the block.
+ * @param networkDistance Return the distance between two nodes by
+ * comparing their network paths.
+ * @param configuration Configuration of client.
* @return New BlockReader instance, or null on error.
*/
public static BlockReader newBlockReader(String file,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]