| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.protocol | |
| org.apache.hadoop.hdfs.protocolPB |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.hdfs.server.common | |
| org.apache.hadoop.hdfs.server.datanode | |
| org.apache.hadoop.hdfs.server.datanode.fsdataset | |
| org.apache.hadoop.hdfs.server.protocol |
| Modifier and Type | Method | Description |
|---|---|---|
HdfsServerConstants.ReplicaState |
BlockListAsLongs.BlockReportReplica.getState() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
BlockListAsLongs.BlockReportReplica.setState(HdfsServerConstants.ReplicaState state) |
| Modifier and Type | Method | Description |
|---|---|---|
static HdfsServerConstants.ReplicaState |
PBHelper.convert(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.ReplicaStateProto state) |
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.ReplicaStateProto |
PBHelper.convert(HdfsServerConstants.ReplicaState state) |
| Modifier and Type | Method | Description |
|---|---|---|
static HdfsServerConstants.ReplicaState |
HdfsServerConstants.ReplicaState.getState(int v) |
Retrieve ReplicaState corresponding to given index.
|
static HdfsServerConstants.ReplicaState |
HdfsServerConstants.ReplicaState.read(java.io.DataInput in) |
Retrieve ReplicaState corresponding to index provided in binary stream.
|
static HdfsServerConstants.ReplicaState |
HdfsServerConstants.ReplicaState.valueOf(java.lang.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 | Description |
|---|---|---|
HdfsServerConstants.ReplicaState |
FinalizedProvidedReplica.getState() |
|
HdfsServerConstants.ReplicaState |
FinalizedReplica.getState() |
|
HdfsServerConstants.ReplicaState |
LocalReplicaInPipeline.getState() |
|
HdfsServerConstants.ReplicaState |
Replica.getState() |
Get the replica state
|
HdfsServerConstants.ReplicaState |
ReplicaBeingWritten.getState() |
|
HdfsServerConstants.ReplicaState |
ReplicaUnderRecovery.getState() |
|
HdfsServerConstants.ReplicaState |
ReplicaWaitingToBeRecovered.getState() |
| Modifier and Type | Method | Description |
|---|---|---|
ReplicaBuilder |
ReplicaBuilder.setState(HdfsServerConstants.ReplicaState state) |
| Constructor | Description |
|---|---|
ReplicaBuilder(HdfsServerConstants.ReplicaState state) |
|
UnexpectedReplicaStateException(org.apache.hadoop.hdfs.protocol.ExtendedBlock b,
HdfsServerConstants.ReplicaState expectedState) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
FsDatasetSpi.checkBlock(org.apache.hadoop.hdfs.protocol.ExtendedBlock b,
long minLength,
HdfsServerConstants.ReplicaState state) |
Check if a block is valid.
|
| Modifier and Type | Method | Description |
|---|---|---|
HdfsServerConstants.ReplicaState |
ReplicaRecoveryInfo.getOriginalReplicaState() |
| Constructor | Description |
|---|---|
ReplicaRecoveryInfo(long blockId,
long diskLen,
long gs,
HdfsServerConstants.ReplicaState rState) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.