Uses of Interface
org.apache.hadoop.hdfs.server.datanode.Replica
Packages that use Replica
Package
Description
-
Uses of Replica in org.apache.hadoop.hdfs.protocol
Classes in org.apache.hadoop.hdfs.protocol that implement ReplicaMethods in org.apache.hadoop.hdfs.protocol with parameters of type ReplicaMethod parameters in org.apache.hadoop.hdfs.protocol with type arguments of type ReplicaModifier and TypeMethodDescriptionstatic BlockListAsLongsBlockListAsLongs.encode(Collection<? extends Replica> replicas) Prepare an instance to encode the collection of replicas into an efficient ByteString. -
Uses of Replica in org.apache.hadoop.hdfs.server.datanode
Subinterfaces of Replica in org.apache.hadoop.hdfs.server.datanodeModifier and TypeInterfaceDescriptioninterfaceThis defines the interface of a replica in Pipeline that's being written toClasses in org.apache.hadoop.hdfs.server.datanode that implement ReplicaModifier and TypeClassDescriptionclassThis class is used for provided replicas that are finalized.classThis class describes a replica that has been finalized.classThis class is used for all replicas which are on local storage media and hence, are backed by files.classThis class defines a replica in a pipeline, which includes a persistent replica being written to by a dfs client or a temporary replica being replicated by a source datanode or being copied for the balancing purpose.classThis abstract class is used as a base class for provided replicas.classThis class represents replicas being written.classThis class is used by datanodes to maintain meta data of its replicas.classThis class represents replicas that are under block recovery It has a recovery id that is equal to the generation stamp that the replica will be bumped to after recovery The recovery id is used to handle multiple concurrent block recoveries.classThis class represents a replica that is waiting to be recovered. -
Uses of Replica in org.apache.hadoop.hdfs.server.datanode.fsdataset
Methods in org.apache.hadoop.hdfs.server.datanode.fsdataset that return ReplicaModifier and TypeMethodDescriptionFsDatasetSpi.getReplica(String bpid, long blockId) Deprecated.FsDatasetSpi.recoverClose(org.apache.hadoop.hdfs.protocol.ExtendedBlock b, long newGS, long expectedBlockLen) Recover a failed pipeline close.FsDatasetSpi.updateReplicaUnderRecovery(org.apache.hadoop.hdfs.protocol.ExtendedBlock oldBlock, long recoveryId, long newBlockId, long newLength) Update replica's generation stamp and length and finalize it.Methods in org.apache.hadoop.hdfs.server.datanode.fsdataset that return types with arguments of type ReplicaModifier and TypeMethodDescriptionFsDatasetSpi.deepCopyReplica(String bpid) Deep copy the replica info belonging to given block pool.