|
Generated by JDiff |
|||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES | DETAIL: CONSTRUCTORS | METHODS | FIELDS |
Added interfaces org.apache.hadoop.hdfs.server.namenode.FSClusterStats, org.apache.hadoop.hdfs.server.namenode.NameNodeMXBean
.
Removed Methods | |
LocatedBlocks getBlockLocations(String, |
Get block locations within the specified range. |
LocatedBlocks getBlockLocations(String, |
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, |
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, |
Change the indicated filename. |
Added Methods | |
void cancelDelegationToken(Token ) |
@param token |
void concat(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, |
Create a symbolic link. |
int getBlockCapacity() |
|
long getCorruptReplicaBlocks() |
Returns number of blocks with corrupt replicas |
String getDeadNodes() |
Returned information is a JSON representation of map with host name as the key and value is a map of dead node attribute keys to its values |
String getDecomNodes() |
Returned information is a JSON representation of map with host name as the key and value is a map of decomisioning node attribute keys to its values |
ArrayList getDecommissioningNodes() |
|
Token getDelegationToken(Text ) |
@param renewer |
DelegationTokenSecretManager getDelegationTokenSecretManager() |
Returns the DelegationTokenSecretManager instance in the namesystem. |
long getExcessBlocks() |
|
long getFree() |
|
String getLiveNodes() |
Returned information is a JSON representation of map with host name as the key and value is a map of live node attribute keys to its values |
long getNonDfsUsedSpace() |
|
int getNumDeadDataNodes() |
Number of dead data nodes |
int getNumLiveDataNodes() |
Number of live data nodes |
long getPendingDeletionBlocks() |
|
float getPercentRemaining() |
|
float getPercentUsed() |
|
String getSafemode() |
|
Collection getStorageDirs(Configuration, |
|
int getThreads() |
|
long getTotal() |
|
long getTotalBlocks() |
|
long getTotalFiles() |
|
long getUsed() |
|
String getVersion() |
Class representing Namenode information for JMX interfaces |
boolean isUpgradeFinalized() |
|
void logUpdateMasterKey(DelegationKey ) |
Log the updateMasterKey operation to edit logs |
int numCorruptReplicas(Block ) |
|
long renewDelegationToken(Token ) |
@param token |
Changed Methods | ||
boolean abandonBlock(Block, |
Change in exceptions thrown from java.io.IOException to (org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException, java.io.FileNotFoundException, org.apache.hadoop.fs.UnresolvedLinkException, java.io.IOException ). |
The client would like to let go of the given block |
boolean completeFile(String, |
Change in return type from CompleteFileStatus to boolean .Change in signature from ( String, String ) to (String, String, Block ).Change in exceptions thrown from java.io.IOException to (org.apache.hadoop.hdfs.server.namenode.SafeModeException, org.apache.hadoop.fs.UnresolvedLinkException, java.io.IOException ). |
Complete in-progress write to the given file. |
boolean delete(String, |
Change in exceptions thrown from java.io.IOException to (org.apache.hadoop.security.AccessControlException, org.apache.hadoop.hdfs.server.namenode.SafeModeException, org.apache.hadoop.fs.UnresolvedLinkException, java.io.IOException ). |
Remove the indicated file from namespace. |
LocatedBlock getAdditionalBlock(String, |
Change in signature from (String, String ) to (String, String, Block, HashMap ).Change in exceptions thrown from java.io.IOException to (org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException, org.apache.hadoop.hdfs.server.namenode.NotReplicatedYetException, org.apache.hadoop.hdfs.protocol.QuotaExceededException, org.apache.hadoop.hdfs.server.namenode.SafeModeException, org.apache.hadoop.fs.UnresolvedLinkException, java.io.IOException ). |
The client would like to obtain an additional block for the indicated filename (which is being written-to). |
DirectoryListing getListing(String, |
Change in return type from FileStatus[] to DirectoryListing .Change in signature from String to (String, byte[], boolean ).Change in exceptions thrown from java.io.IOException to (org.apache.hadoop.security.AccessControlException, org.apache.hadoop.fs.UnresolvedLinkException, java.io.IOException ). |
Get a partial listing of the indicated directory |
boolean mkdirs(String, |
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, |
Change in exceptions thrown from java.io.IOException to (org.apache.hadoop.security.AccessControlException, java.io.FileNotFoundException, org.apache.hadoop.hdfs.server.namenode.SafeModeException, org.apache.hadoop.fs.UnresolvedLinkException, java.io.IOException ). |
Set owner for an existing file. |
void setPermission(String, |
Change in exceptions thrown from java.io.IOException to (org.apache.hadoop.security.AccessControlException, java.io.FileNotFoundException, org.apache.hadoop.hdfs.server.namenode.SafeModeException, org.apache.hadoop.fs.UnresolvedLinkException, java.io.IOException ). |
Set permissions for an existing file. |
boolean setReplication(String, |
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, |
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 |
|
||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES |