程序包 | 说明 |
---|---|
org.apache.hadoop.hdfs |
A distributed implementation of
FileSystem . |
org.apache.hadoop.hdfs.server.datanode | |
org.apache.hadoop.util |
Common utilities.
|
构造器和说明 |
---|
DFSClient.RemoteBlockReader(Path file,
int numRetries,
DataChecksum checksum,
boolean verifyChecksum) |
限定符和类型 | 方法和说明 |
---|---|
DataChecksum |
BlockMetadataHeader.getChecksum()
Get the version
|
限定符和类型 | 方法和说明 |
---|---|
static DataChecksum |
DataChecksum.newDataChecksum(byte[] bytes,
int offset)
Creates a DataChecksum from HEADER_LEN bytes from arr[offset].
|
static DataChecksum |
DataChecksum.newDataChecksum(DataInputStream in)
This constructucts a DataChecksum by reading HEADER_LEN bytes from
input stream in
|
static DataChecksum |
DataChecksum.newDataChecksum(int type,
int bytesPerChecksum) |
限定符和类型 | 方法和说明 |
---|---|
static void |
ChecksumUtil.updateChunkChecksum(byte[] buf,
int checksumOff,
int dataOff,
int dataLen,
DataChecksum checksum)
updates the checksum for a buffer
|
Copyright © 2009 The Apache Software Foundation