@InterfaceAudience.Private public interface InterDatanodeProtocol
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
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 and Description |
---|---|
ReplicaRecoveryInfo |
initReplicaRecovery(BlockRecoveryCommand.RecoveringBlock rBlock)
Initialize a replica recovery.
|
String |
updateReplicaUnderRecovery(ExtendedBlock oldBlock,
long recoveryId,
long newLength)
Update replica with the new generation stamp and length.
|
static final org.apache.commons.logging.Log LOG
static final long versionID
ReplicaRecoveryInfo initReplicaRecovery(BlockRecoveryCommand.RecoveringBlock rBlock) throws IOException
IOException
String updateReplicaUnderRecovery(ExtendedBlock oldBlock, long recoveryId, long newLength) throws IOException
IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.