Package org.apache.hadoop.hdfs.protocol

Interface Summary
ClientDatanodeProtocol An client-datanode protocol for block recovery
ClientProtocol ClientProtocol is used by user code via DistributedFileSystem class to communicate with the NameNode.
DataTransferProtocol Transfer data to/from datanode using a streaming protocol.
FSConstants Some handy constants
 

Class Summary
Block A Block is a Hadoop FS primitive, identified by a long.
BlockListAsLongs This class provides an interface for accessing list of blocks that has been implemented as long[].
DatanodeID DatanodeID is composed of the data node name (hostname:portNumber) and the data storage ID, which it currently represents.
DatanodeInfo DatanodeInfo represents the status of a DataNode.
DataTransferProtocol.PipelineAck reply
DataTransferProtocol.Receiver Receiver
DataTransferProtocol.Sender Sender
DirectoryListing This class defines a partial listing of a directory to support iterative directory listing.
HdfsFileStatus Interface that represents the over the wire information for a file.
LocatedBlock A LocatedBlock is a pair of Block, DatanodeInfo[] objects.
LocatedBlocks Collection of blocks with their locations and the file length.
 

Enum Summary
DatanodeInfo.AdminStates  
DataTransferProtocol.BlockConstructionStage  
DataTransferProtocol.Op Operation
DataTransferProtocol.Status Status
FSConstants.DatanodeReportType  
FSConstants.SafeModeAction  
FSConstants.UpgradeAction Distributed upgrade actions: 1.
 

Exception Summary
AlreadyBeingCreatedException The exception that happens when you ask to create a file that already is being created, but is not closed yet.
DSQuotaExceededException  
NSQuotaExceededException  
QuotaExceededException This exception is thrown when modification to HDFS results in violation of a directory quota.
RecoveryInProgressException Exception indicating that a replica is already being recovery.
UnregisteredNodeException This exception is thrown when a node that has not previously registered is trying to access the name node.
UnresolvedPathException Thrown when a symbolic link is encountered in a path.
 



Copyright © 2009 The Apache Software Foundation