程序包 | 说明 |
---|---|
org.apache.hadoop.hdfs |
A distributed implementation of
FileSystem . |
限定符和类型 | 类和说明 |
---|---|
static class |
DFSClient.RemoteBlockReader
This is a wrapper around connection to datadone
and understands checksum, offset etc
|
限定符和类型 | 方法和说明 |
---|---|
static BlockReader |
DFSClient.RemoteBlockReader.newBlockReader(Socket sock,
String file,
long blockId,
Token<BlockTokenIdentifier> accessToken,
long genStamp,
long startOffset,
long len,
int bufferSize) |
static BlockReader |
DFSClient.RemoteBlockReader.newBlockReader(Socket sock,
String file,
long blockId,
Token<BlockTokenIdentifier> accessToken,
long genStamp,
long startOffset,
long len,
int bufferSize,
boolean verifyChecksum)
Creates a new
BlockReader for the given blockId. |
static BlockReader |
DFSClient.RemoteBlockReader.newBlockReader(Socket sock,
String file,
long blockId,
Token<BlockTokenIdentifier> accessToken,
long genStamp,
long startOffset,
long len,
int bufferSize,
boolean verifyChecksum,
String clientName) |
Copyright © 2009 The Apache Software Foundation