FSNamesystem@Private
public interface FSNamesystemMBean
Name Node runtime activity statistic info is reported in
NameNodeMetrics| Modifier and Type | Method | Description |
|---|---|---|
long |
getBlockDeletionStartTime() |
Time when block deletions will begin
|
long |
getBlocksTotal() |
Number of allocated blocks in the system
|
long |
getCapacityRemaining() |
Free (unused) storage capacity
|
long |
getCapacityTotal() |
Total storage capacity
|
long |
getCapacityUsed() |
Used storage capacity
|
long |
getCurrentTokensCount() |
Get the current number of delegation tokens in memory.
|
long |
getEstimatedCapacityLostTotal() |
Returns an estimate of total capacity lost due to volume failures in bytes
across all live data nodes.
|
long |
getFilesTotal() |
Total number of files and directories
|
int |
getFsLockQueueLength() |
Returns the length of the wait Queue for the FSNameSystemLock.
|
java.lang.String |
getFSState() |
The state of the file system: Safemode or Operational
|
long |
getLowRedundancyBlocks() |
Get aggregated count of all blocks with low redundancy.
|
long |
getMaxObjects() |
Return the maximum number of inodes in the file system
|
int |
getNumDeadDataNodes() |
Number of dead data nodes
|
int |
getNumDecomDeadDataNodes() |
Number of decommissioned dead data nodes
|
int |
getNumDecomLiveDataNodes() |
Number of decommissioned Live data nodes
|
int |
getNumDecommissioningDataNodes() |
Number of data nodes that are in the decommissioning state
|
int |
getNumEncryptionZones() |
Return the number of encryption zones in the system.
|
int |
getNumEnteringMaintenanceDataNodes() |
|
int |
getNumInMaintenanceDeadDataNodes() |
|
int |
getNumInMaintenanceLiveDataNodes() |
|
int |
getNumInServiceLiveDataNodes() |
|
int |
getNumLiveDataNodes() |
Number of Live data nodes
|
int |
getNumStaleDataNodes() |
Number of stale data nodes
|
int |
getNumStaleStorages() |
Number of content stale storages.
|
long |
getPendingDeletionBlocks() |
Number of blocks pending deletion
|
long |
getPendingReconstructionBlocks() |
Get aggregated count of all blocks pending to be reconstructed.
|
long |
getPendingReplicationBlocks() |
Deprecated.
Use
getPendingReconstructionBlocks() instead. |
int |
getPendingSPSPaths() |
Returns the number of paths to be processed by storage policy satisfier.
|
long |
getProvidedCapacityTotal() |
Total PROVIDED storage capacity.
|
float |
getReconstructionQueuesInitProgress() |
Get the progress of the reconstruction queues initialisation.
|
long |
getScheduledReplicationBlocks() |
Blocks scheduled for replication
|
java.lang.String |
getSnapshotStats() |
The statistics of snapshots
|
java.lang.String |
getTopUserOpCounts() |
Returns a nested JSON object listing the top users for different RPC
operations over tracked time windows.
|
int |
getTotalLoad() |
Total Load on the FSNamesystem
|
long |
getTotalSyncCount() |
Return total number of Sync Operations on FSEditLog.
|
java.lang.String |
getTotalSyncTimes() |
Return total time spent doing sync operations on FSEditLog.
|
long |
getUnderReplicatedBlocks() |
Deprecated.
Use
getLowRedundancyBlocks() instead. |
int |
getVolumeFailuresTotal() |
Number of failed data volumes across all live data nodes.
|
java.lang.String getFSState()
long getBlocksTotal()
long getCapacityTotal()
long getCapacityRemaining()
long getCapacityUsed()
long getProvidedCapacityTotal()
long getFilesTotal()
@Deprecated long getPendingReplicationBlocks()
getPendingReconstructionBlocks() instead.long getPendingReconstructionBlocks()
@Deprecated long getUnderReplicatedBlocks()
getLowRedundancyBlocks() instead.long getLowRedundancyBlocks()
long getScheduledReplicationBlocks()
int getTotalLoad()
int getNumLiveDataNodes()
int getNumDeadDataNodes()
int getNumStaleDataNodes()
int getNumDecomLiveDataNodes()
int getNumDecomDeadDataNodes()
int getNumInServiceLiveDataNodes()
int getVolumeFailuresTotal()
long getEstimatedCapacityLostTotal()
int getNumDecommissioningDataNodes()
java.lang.String getSnapshotStats()
long getMaxObjects()
long getPendingDeletionBlocks()
long getBlockDeletionStartTime()
int getNumStaleStorages()
java.lang.String getTopUserOpCounts()
int getNumEncryptionZones()
int getFsLockQueueLength()
long getTotalSyncCount()
java.lang.String getTotalSyncTimes()
int getNumInMaintenanceLiveDataNodes()
int getNumInMaintenanceDeadDataNodes()
int getNumEnteringMaintenanceDataNodes()
long getCurrentTokensCount()
int getPendingSPSPaths()
float getReconstructionQueuesInitProgress()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.