| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.datanode | |
| org.apache.hadoop.hdfs.server.datanode.fsdataset |
| Modifier and Type | Method and Description |
|---|---|
ReplicaOutputStreams |
ReplicaInPipeline.createStreams(boolean isCreate,
DataChecksum requestedChecksum) |
ReplicaOutputStreams |
ReplicaInPipelineInterface.createStreams(boolean isCreate,
DataChecksum requestedChecksum)
Create output streams for writing to this replica,
one for block file and one for CRC file
|
| Modifier and Type | Method and Description |
|---|---|
void |
FsDatasetSpi.adjustCrcChannelPosition(ExtendedBlock b,
ReplicaOutputStreams outs,
int checksumSize)
Sets the file pointer of the checksum stream so that the last checksum
will be overwritten
|
Copyright © 2013 Apache Software Foundation. All rights reserved.