HDFS-16232. Fix java doc for BlockReaderRemote#newBlockReader (#3456)
This commit is contained in:
parent
98e2781dde
commit
3113a119af
@ -375,15 +375,20 @@ public void readFully(byte[] buf, int off, int len) throws IOException {
|
|||||||
* Create a new BlockReader specifically to satisfy a read.
|
* Create a new BlockReader specifically to satisfy a read.
|
||||||
* This method also sends the OP_READ_BLOCK request.
|
* This method also sends the OP_READ_BLOCK request.
|
||||||
*
|
*
|
||||||
* @param file File location
|
* @param file File location.
|
||||||
* @param block The block object
|
* @param block The block object.
|
||||||
* @param blockToken The block token for security
|
* @param blockToken The block token for security.
|
||||||
* @param startOffset The read offset, relative to block head
|
* @param startOffset The read offset, relative to block head.
|
||||||
* @param len The number of bytes to read
|
* @param len The number of bytes to read.
|
||||||
* @param verifyChecksum Whether to verify checksum
|
* @param verifyChecksum Whether to verify checksum.
|
||||||
* @param clientName Client name
|
* @param clientName Client name.
|
||||||
* @param peer The Peer to use
|
* @param peer The Peer to use.
|
||||||
* @param datanodeID The DatanodeID this peer is connected to
|
* @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.
|
* @return New BlockReader instance, or null on error.
|
||||||
*/
|
*/
|
||||||
public static BlockReader newBlockReader(String file,
|
public static BlockReader newBlockReader(String file,
|
||||||
|
Loading…
Reference in New Issue
Block a user