Generated by
JDiff

Class org.apache.hadoop.hdfs.server.namenode.FSNamesystem

Added interface org.apache.hadoop.hdfs.server.namenode.FSClusterStats.

Removed Methods
LocatedBlocks getBlockLocations(String, long, long) Get block locations within the specified range.
LocatedBlocks getBlockLocations(String, long, long, boolean) Get block locations within the specified range.
long getCorruptReplicaBlocksCount() Returns number of blocks with corrupt replicas
InetSocketAddress getDFSNameNodeAddress() @deprecated use NameNode#getNameNodeAddress() instead.
FSNamesystem getFSNamesystem() Return the FSNamesystem object
DatanodeDescriptor getRandomDatanode()  
void invalidateBlock(Block, DatanodeInfo) Invalidates the given block on the given datanode.
int numDeadDataNodes() Number of dead data nodes
int numLiveDataNodes() Number of live data nodes
String randomDataNode()  
boolean renameTo(String, String) Change the indicated filename.
 

Added Methods
void cancelDelegationToken(Token) @param token
void concat(String, String[]) Moves all the blocks from srcs and appends them to trg To avoid rollbacks we will verify validitity of ALL of the args before we start actual move.
void createSymlink(String, String, PermissionStatus, boolean) Create a symbolic link.
int getBlockCapacity()  
long getCorruptReplicaBlocks() Returns number of blocks with corrupt replicas
ArrayList getDecommissioningNodes()  
Token getDelegationToken(Text) @param renewer
DelegationTokenSecretManager getDelegationTokenSecretManager()  
long getExcessBlocks()  
int getNumDeadDataNodes() Number of dead data nodes
int getNumLiveDataNodes() Number of live data nodes
long getPendingDeletionBlocks()  
Collection getStorageDirs(Configuration, String)  
void logUpdateMasterKey(DelegationKey) Log the updateMasterKey operation to edit logs
int numCorruptReplicas(Block)  
long renewDelegationToken(Token) @param token
 

Changed Methods
boolean abandonBlock(Block, String, String) Change in exceptions thrown from java.io.IOException to (java.io.IOException, org.apache.hadoop.fs.UnresolvedLinkException).
The client would like to let go of the given block
CompleteFileStatus completeFile(String, String, Block) Change in signature from (String, String) to (String, String, Block).
Change in exceptions thrown from java.io.IOException to (java.io.IOException, org.apache.hadoop.fs.UnresolvedLinkException).
 
boolean delete(String, boolean) Change in exceptions thrown from java.io.IOException to (java.io.IOException, org.apache.hadoop.fs.UnresolvedLinkException).
Remove the indicated filename from namespace.
LocatedBlock getAdditionalBlock(String, String, Block, HashMap) Change in signature from (String, String) to (String, String, Block, HashMap).
Change in exceptions thrown from java.io.IOException to (java.io.IOException, org.apache.hadoop.fs.UnresolvedLinkException).
The client would like to obtain an additional block for the indicated filename (which is being written-to).
DirectoryListing getListing(String, byte[]) Change in return type from FileStatus[] to DirectoryListing.
Change in signature from String to (String, byte[]).
Change in exceptions thrown from java.io.IOException to (java.io.IOException, org.apache.hadoop.fs.UnresolvedLinkException).
Get a partial listing of the indicated directory
boolean mkdirs(String, PermissionStatus, boolean) Change in signature from (String, PermissionStatus) to (String, PermissionStatus, boolean).
Change in exceptions thrown from java.io.IOException to (java.io.IOException, org.apache.hadoop.fs.UnresolvedLinkException).
Create all the necessary directories
void setOwner(String, String, String) Change in exceptions thrown from java.io.IOException to (java.io.IOException, org.apache.hadoop.fs.UnresolvedLinkException).
Set owner for an existing file.
void setPermission(String, FsPermission) Change in exceptions thrown from java.io.IOException to (java.io.IOException, org.apache.hadoop.fs.UnresolvedLinkException).
Set permissions for an existing file.
boolean setReplication(String, short) Change in exceptions thrown from java.io.IOException to (java.io.IOException, org.apache.hadoop.fs.UnresolvedLinkException).
Set replication for an existing file.
void setTimes(String, long, long) Change in exceptions thrown from java.io.IOException to (java.io.IOException, org.apache.hadoop.fs.UnresolvedLinkException).
stores the modification and access time for this inode.
 

Removed Fields
String AUDIT_FORMAT  
CorruptReplicasMap corruptReplicas  
FSNamesystem fsNamesystemObject