DataNode, InterDatanodeProtocolTranslatorPB@Private
public interface InterDatanodeProtocol
| Modifier and Type | Field | Description |
|---|---|---|
static org.slf4j.Logger |
LOG |
|
static long |
versionID |
Until version 9, this class InterDatanodeProtocol served as both
the interface to the DN AND the RPC protocol used to communicate with the
DN.
|
| Modifier and Type | Method | Description |
|---|---|---|
ReplicaRecoveryInfo |
initReplicaRecovery(BlockRecoveryCommand.RecoveringBlock rBlock) |
Initialize a replica recovery.
|
java.lang.String |
updateReplicaUnderRecovery(org.apache.hadoop.hdfs.protocol.ExtendedBlock oldBlock,
long recoveryId,
long newBlockId,
long newLength) |
Update replica with the new generation stamp and length.
|
static final org.slf4j.Logger LOG
static final long versionID
ReplicaRecoveryInfo initReplicaRecovery(BlockRecoveryCommand.RecoveringBlock rBlock) throws java.io.IOException
java.io.IOExceptionjava.lang.String updateReplicaUnderRecovery(org.apache.hadoop.hdfs.protocol.ExtendedBlock oldBlock,
long recoveryId,
long newBlockId,
long newLength)
throws java.io.IOException
java.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.