org.apache.hadoop.hdfs.protocol
Interface ClientDatanodeProtocol
- All Superinterfaces:
- org.apache.hadoop.ipc.VersionedProtocol
- All Known Implementing Classes:
- DataNode
@InterfaceAudience.Private
@InterfaceStability.Evolving
public interface ClientDatanodeProtocol
- extends org.apache.hadoop.ipc.VersionedProtocol
An client-datanode protocol for block recovery
Field Summary |
static org.apache.commons.logging.Log |
LOG
|
static long |
versionID
6: recoverBlock() removed. |
Methods inherited from interface org.apache.hadoop.ipc.VersionedProtocol |
getProtocolVersion |
LOG
static final org.apache.commons.logging.Log LOG
versionID
static final long versionID
- 6: recoverBlock() removed.
- See Also:
- Constant Field Values
getReplicaVisibleLength
long getReplicaVisibleLength(Block b)
throws IOException
- Return the visible length of a replica.
- Throws:
IOException
Copyright © 2009 The Apache Software Foundation