Package | Description |
---|---|
org.apache.hadoop.hdfs.server.datanode | |
org.apache.hadoop.hdfs.server.datanode.fsdataset |
Modifier and Type | Class and Description |
---|---|
class |
ReplicaBeingWritten
This class represents replicas being written.
|
class |
ReplicaInPipeline
This 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.
|
Modifier and Type | Method and Description |
---|---|
ReplicaInPipelineInterface |
FsDatasetSpi.append(ExtendedBlock b,
long newGS,
long expectedBlockLen)
Append to a finalized replica and returns the meta info of the replica
|
ReplicaInPipelineInterface |
FsDatasetSpi.convertTemporaryToRbw(ExtendedBlock temporary)
Covert a temporary replica to a RBW.
|
ReplicaInPipelineInterface |
FsDatasetSpi.createRbw(ExtendedBlock b)
Creates a RBW replica and returns the meta info of the replica
|
ReplicaInPipelineInterface |
FsDatasetSpi.createTemporary(ExtendedBlock b)
Creates a temporary replica and returns the meta information of the replica
|
ReplicaInPipelineInterface |
FsDatasetSpi.recoverAppend(ExtendedBlock b,
long newGS,
long expectedBlockLen)
Recover a failed append to a finalized replica
and returns the meta info of the replica
|
ReplicaInPipelineInterface |
FsDatasetSpi.recoverRbw(ExtendedBlock b,
long newGS,
long minBytesRcvd,
long maxBytesRcvd)
Recovers a RBW replica and returns the meta info of the replica
|
Copyright © 2013 Apache Software Foundation. All rights reserved.