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.
 
Method Summary
 long getReplicaVisibleLength(Block b)
          Return the visible length of a replica.
 
Methods inherited from interface org.apache.hadoop.ipc.VersionedProtocol
getProtocolVersion
 

Field Detail

LOG

static final org.apache.commons.logging.Log LOG

versionID

static final long versionID
6: recoverBlock() removed.

See Also:
Constant Field Values
Method Detail

getReplicaVisibleLength

long getReplicaVisibleLength(Block b)
                             throws IOException
Return the visible length of a replica.

Throws:
IOException


Copyright © 2009 The Apache Software Foundation