| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.datanode | |
| org.apache.hadoop.hdfs.server.datanode.fsdataset |
| Modifier and Type | Method | Description |
|---|---|---|
ReplicaOutputStreams |
LocalReplicaInPipeline.createStreams(boolean isCreate,
org.apache.hadoop.util.DataChecksum requestedChecksum) |
|
ReplicaOutputStreams |
ReplicaInPipeline.createStreams(boolean isCreate,
org.apache.hadoop.util.DataChecksum requestedChecksum) |
Create output streams for writing to this replica,
one for block file and one for CRC file
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
FsDatasetSpi.adjustCrcChannelPosition(org.apache.hadoop.hdfs.protocol.ExtendedBlock b,
ReplicaOutputStreams outs,
int checksumSize) |
Sets the file pointer of the checksum stream so that the last checksum
will be overwritten
|
void |
FsDatasetSpi.submitBackgroundSyncFileRangeRequest(org.apache.hadoop.hdfs.protocol.ExtendedBlock block,
ReplicaOutputStreams outs,
long offset,
long nbytes,
int flags) |
submit a sync_file_range request to AsyncDiskService.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.