Package | Description |
---|---|
org.apache.hadoop.hdfs.protocol | |
org.apache.hadoop.hdfs.server.datanode |
Constructor and Description |
---|
BlockListAsLongs(List<? extends Block> finalized,
List<ReplicaInfo> uc)
Create block report from finalized and under construction lists of blocks.
|
Modifier and Type | Class and Description |
---|---|
class |
FinalizedReplica
This class describes a replica that has been finalized.
|
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.
|
class |
ReplicaUnderRecovery
This 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.
|
class |
ReplicaWaitingToBeRecovered
This class represents a replica that is waiting to be recovered.
|
Modifier and Type | Method and Description |
---|---|
ReplicaInfo |
ReplicaUnderRecovery.getOriginalReplica()
Get the original replica that's under recovery
|
Constructor and Description |
---|
ReplicaUnderRecovery(ReplicaInfo replica,
long recoveryId) |
Copyright © 2013 Apache Software Foundation. All rights reserved.