FSNamesystem@Private
@Stable
public interface NameNodeMXBean
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getBlockPoolId() |
Gets the block pool id.
|
long |
getBlockPoolUsedSpace() |
Get the total space used by the block pools of this namenode.
|
long |
getCacheCapacity() |
Gets the total cache capacity of the datanode (in bytes).
|
long |
getCacheUsed() |
Gets the amount of cache used by the datanode (in bytes).
|
java.lang.String |
getClusterId() |
Gets the cluster id.
|
java.lang.String |
getCompileInfo() |
Get the compilation information which contains date, user and branch.
|
java.lang.String |
getCorruptFiles() |
Get the list of corrupt files.
|
int |
getCorruptFilesCount() |
Get the length of the list of corrupt files.
|
java.lang.String |
getDeadNodes() |
Gets the dead node information of the cluster.
|
java.lang.String |
getDecomNodes() |
Gets the decommissioning node information of the cluster.
|
int |
getDistinctVersionCount() |
Get the number of distinct versions of live datanodes.
|
java.util.Map<java.lang.String,java.lang.Integer> |
getDistinctVersions() |
Get the number of live datanodes for each distinct versions.
|
java.lang.String |
getEnteringMaintenanceNodes() |
Gets the information on nodes entering maintenance.
|
long |
getFree() |
Gets total non-used raw bytes.
|
long |
getHighestPriorityLowRedundancyECBlocks() |
Gets the total number of erasure coded low redundancy blocks on the cluster
with the highest risk of loss.
|
long |
getHighestPriorityLowRedundancyReplicatedBlocks() |
Gets the total number of replicated low redundancy blocks on the cluster
with the highest risk of loss.
|
java.lang.String |
getJournalTransactionInfo() |
Get information about the transaction ID, including the last applied
transaction ID and the most recent checkpoint's transaction ID.
|
java.lang.String |
getLiveNodes() |
Gets the live node information of the cluster.
|
java.lang.String |
getNameDirSize() |
Get namenode directory size.
|
java.lang.String |
getNameDirStatuses() |
Get status information about the directories storing image and edits logs
of the NN.
|
java.lang.String |
getNameJournalStatus() |
Get status information about the journals of the NN.
|
long |
getNNStartedTimeInMillis() |
Gets the NN start time in milliseconds.
|
java.lang.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.
|
long |
getNumberOfSnapshottableDirs() |
Gets the total number of snapshottable dirs in the system.
|
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.
|
long |
getProvidedCapacity() |
Gets capacity of the provided storage mounted, in bytes.
|
org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo.Bean |
getRollingUpgradeStatus() |
Gets the RollingUpgrade information.
|
java.lang.String |
getSafemode() |
Gets the safemode status.
|
java.lang.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 |
getUsed() |
Gets the used space by data nodes.
|
java.lang.String |
getVerifyECWithTopologyResult() |
Verifies whether the cluster setup can support all enabled EC policies.
|
java.lang.String |
getVersion() |
Gets the version of Hadoop.
|
boolean |
isUpgradeFinalized() |
Checks if upgrade is finalized.
|
java.lang.String getVersion()
java.lang.String getSoftwareVersion()
long getUsed()
long getFree()
long getTotal()
long getProvidedCapacity()
java.lang.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 getNumberOfMissingBlocks()
long getNumberOfMissingBlocksWithReplicationFactorOne()
long getHighestPriorityLowRedundancyReplicatedBlocks()
long getHighestPriorityLowRedundancyECBlocks()
long getNumberOfSnapshottableDirs()
int getThreads()
java.lang.String getLiveNodes()
java.lang.String getDeadNodes()
java.lang.String getDecomNodes()
java.lang.String getEnteringMaintenanceNodes()
java.lang.String getClusterId()
java.lang.String getBlockPoolId()
java.lang.String getNameDirStatuses()
java.lang.String getNodeUsage()
java.lang.String getNameJournalStatus()
java.lang.String getJournalTransactionInfo()
long getNNStartedTimeInMillis()
java.lang.String getCompileInfo()
java.lang.String getCorruptFiles()
int getCorruptFilesCount()
int getDistinctVersionCount()
java.util.Map<java.lang.String,java.lang.Integer> getDistinctVersions()
java.lang.String getNameDirSize()
java.lang.String getVerifyECWithTopologyResult()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.