@InterfaceAudience.Public @InterfaceStability.Stable public interface NameNodeMXBean
Modifier and Type | Method and Description |
---|---|
String |
getBlockPoolId()
Gets the block pool id.
|
long |
getBlockPoolUsedSpace()
Get the total space used by the block pools of this namenode
|
long |
getCacheCapacity()
Returns the total cache capacity of the datanode (in bytes).
|
long |
getCacheUsed()
Returns the amount of cache used by the datanode (in bytes).
|
String |
getClusterId()
Gets the cluster id.
|
String |
getCompileInfo()
Get the compilation information which contains date, user and branch
|
String |
getCorruptFiles()
Get the list of corrupt files
|
String |
getDeadNodes()
Gets the dead node information of the cluster.
|
String |
getDecomNodes()
Gets the decommissioning node information of the cluster.
|
int |
getDistinctVersionCount()
Get the number of distinct versions of live datanodes
|
Map<String,Integer> |
getDistinctVersions()
Get the number of live datanodes for each distinct versions
|
long |
getFree()
Gets total non-used raw bytes.
|
String |
getJournalTransactionInfo()
Get information about the transaction ID, including the last applied
transaction ID and the most recent checkpoint's transaction ID
|
String |
getLiveNodes()
Gets the live node information of the cluster.
|
String |
getNameDirStatuses()
Get status information about the directories storing image and edits logs
of the NN.
|
String |
getNameJournalStatus()
Get status information about the journals of the NN.
|
String |
getNNStarted()
Gets the NN start time
|
String |
getNodeUsage()
Get Max, Median, Min and Standard Deviation of DataNodes usage.
|
long |
getNonDfsUsedSpace()
Gets total used space by data nodes for non DFS purposes such as storing
temporary files on the local file system
|
long |
getNumberOfMissingBlocks()
Gets the total number of missing blocks on the cluster
|
long |
getNumberOfMissingBlocksWithReplicationFactorOne()
Gets the total number of missing blocks on the cluster with
replication factor 1
|
float |
getPercentBlockPoolUsed()
Get the total space used by the block pool as percentage of total capacity
|
float |
getPercentRemaining()
Gets the total remaining space by data nodes as percentage of total
capacity
|
float |
getPercentUsed()
Gets the total used space by data nodes as percentage of total capacity
|
org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo.Bean |
getRollingUpgradeStatus()
Gets the RollingUpgrade information.
|
String |
getSafemode()
Gets the safemode status
|
String |
getSoftwareVersion()
Get the version of software running on the Namenode
|
int |
getThreads()
Gets the number of threads.
|
long |
getTotal()
Gets total raw bytes including non-dfs used space.
|
long |
getTotalBlocks()
Gets the total numbers of blocks on the cluster.
|
long |
getTotalFiles()
Gets the total number of files on the cluster
|
long |
getUsed()
Gets the used space by data nodes.
|
String |
getVersion()
Gets the version of Hadoop.
|
boolean |
isUpgradeFinalized()
Checks if upgrade is finalized.
|
String getVersion()
String getSoftwareVersion()
long getUsed()
long getFree()
long getTotal()
String getSafemode()
boolean isUpgradeFinalized()
org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo.Bean getRollingUpgradeStatus()
long getNonDfsUsedSpace()
float getPercentUsed()
float getPercentRemaining()
long getCacheUsed()
long getCacheCapacity()
long getBlockPoolUsedSpace()
float getPercentBlockPoolUsed()
long getTotalBlocks()
long getTotalFiles()
long getNumberOfMissingBlocks()
long getNumberOfMissingBlocksWithReplicationFactorOne()
int getThreads()
String getLiveNodes()
String getDeadNodes()
String getDecomNodes()
String getClusterId()
String getBlockPoolId()
String getNameDirStatuses()
String getNodeUsage()
String getNameJournalStatus()
String getJournalTransactionInfo()
String getNNStarted()
String getCompileInfo()
String getCorruptFiles()
int getDistinctVersionCount()
Map<String,Integer> getDistinctVersions()
Copyright © 2015 Apache Software Foundation. All rights reserved.