Uses of Class
org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaOutputStreams
Packages that use ReplicaOutputStreams
Package
Description
-
Uses of ReplicaOutputStreams in org.apache.hadoop.hdfs.server.datanode
Methods in org.apache.hadoop.hdfs.server.datanode that return ReplicaOutputStreamsModifier and TypeMethodDescriptionLocalReplicaInPipeline.createStreams(boolean isCreate, org.apache.hadoop.util.DataChecksum requestedChecksum) 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 -
Uses of ReplicaOutputStreams in org.apache.hadoop.hdfs.server.datanode.fsdataset
Methods in org.apache.hadoop.hdfs.server.datanode.fsdataset with parameters of type ReplicaOutputStreamsModifier and TypeMethodDescriptionvoidFsDatasetSpi.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 overwrittenvoidFsDatasetSpi.submitBackgroundSyncFileRangeRequest(org.apache.hadoop.hdfs.protocol.ExtendedBlock block, ReplicaOutputStreams outs, long offset, long nbytes, int flags) submit a sync_file_range request to AsyncDiskService.