| Package | Description | 
|---|---|
| org.apache.hadoop.hdfs.protocolPB | |
| org.apache.hadoop.hdfs.server.common | |
| org.apache.hadoop.hdfs.server.datanode | 
| Modifier and Type | Method and Description | 
|---|---|
| static HdfsServerConstants.ReplicaState | PBHelper. convert(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.ReplicaStateProto state) | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.ReplicaStateProto | PBHelper. convert(HdfsServerConstants.ReplicaState state) | 
| Modifier and Type | Method and Description | 
|---|---|
| static HdfsServerConstants.ReplicaState | HdfsServerConstants.ReplicaState. getState(int v) | 
| static HdfsServerConstants.ReplicaState | HdfsServerConstants.ReplicaState. read(DataInput in)Read from in | 
| static HdfsServerConstants.ReplicaState | HdfsServerConstants.ReplicaState. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static HdfsServerConstants.ReplicaState[] | HdfsServerConstants.ReplicaState. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| HdfsServerConstants.ReplicaState | ReplicaWaitingToBeRecovered. getState() | 
| HdfsServerConstants.ReplicaState | ReplicaUnderRecovery. getState() | 
| HdfsServerConstants.ReplicaState | ReplicaInPipeline. getState() | 
| HdfsServerConstants.ReplicaState | ReplicaBeingWritten. getState() | 
| HdfsServerConstants.ReplicaState | FinalizedReplica. getState() | 
| Constructor and Description | 
|---|
| UnexpectedReplicaStateException(org.apache.hadoop.hdfs.protocol.ExtendedBlock b,
                               HdfsServerConstants.ReplicaState expectedState) | 
Copyright © 2017 Apache Software Foundation. All Rights Reserved.