Generated by
JDiff

Class org.apache.hadoop.hdfs.server.datanode.DataNode

Added interface org.apache.hadoop.hdfs.server.datanode.DataNodeMXBean.

Removed Methods
void checkDiskError()  
void checkDiskError(IOException)  
BlockMetaDataInfo getBlockMetaDataInfo(Block) {@inheritDoc}
String getNamenode() Return the namenode's identifier
DataNode makeInstance(String[], Configuration) Make an instance of DataNode after ensuring that at least one of the given data directories (and their parent directories if necessary) can be created.
LocatedBlock recoverBlock(Block, boolean, DatanodeInfo[]) {@inheritDoc}
void updateBlock(Block, Block, boolean) {@inheritDoc}
 

Added Methods
void checkDiskError(Exception) Check if there is no space in disk
void checkDiskError() Check if there is a disk failure and if so handle the error
DataNode createDataNode(String[], Configuration, SecureResources) Instantiate & Start a single datanode daemon and wait for it to finish.
DatanodeRegistration getDatanodeRegistration() Return DatanodeRegistration
String getHttpPort()  
InetSocketAddress getInfoAddr(Configuration) Determine the http server's effective addr
int getInfoPort()  
InetSocketAddress getNameNodeAddrForClient()  
String getNamenodeAddress()  
long getReplicaVisibleLength(Block) {@inheritDoc}
String getRpcPort()  
InetSocketAddress getStreamingAddr(Configuration)  
String getVersion()  
String getVolumeInfo() Returned information is a JSON representation of a map with volume name as the key and value is a map of volume attribute keys to its values
ReplicaRecoveryInfo initReplicaRecovery(RecoveringBlock)  
DataNode instantiateDataNode(String[], Configuration, SecureResources) Instantiate a single datanode object along with its secure resources.
void secureMain(String[], SecureResources)  
Block updateReplicaUnderRecovery(Block, long, long) Update replica with the new generation stamp and length.
 

Changed Methods
InterDatanodeProtocol createInterDataNodeProtocolProxy(DatanodeID, Configuration, int) Change in signature from (DatanodeID, Configuration) to (DatanodeID, Configuration, int).
 
Daemon recoverBlocks(Collection) Change in signature from (Block[], DatanodeInfo[][]) to Collection.
 
 

Removed Fields
int PKT_HEADER_LEN Header size for a packet