org.apache.hadoop.metrics2.MetricsSourceFsDatasetSpi<V>@Private
public interface FSDatasetMBean
extends org.apache.hadoop.metrics2.MetricsSource
Data Node runtime statistic info is report in another MBean
DataNodeMetrics| Modifier and Type | Method | Description |
|---|---|---|
long |
getBlockPoolUsed(java.lang.String bpid) |
Returns the total space (in bytes) used by a block pool
|
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).
|
long |
getCapacity() |
Returns total capacity (in bytes) of storage (used and unused)
|
long |
getDfsUsed() |
Returns the total space (in bytes) used by dfs datanode
|
long |
getEstimatedCapacityLostTotal() |
Returns an estimate of total capacity lost due to volume failures in bytes.
|
java.lang.String[] |
getFailedStorageLocations() |
Returns each storage location that has failed, sorted.
|
long |
getLastDirScannerFinishTime() |
Returns the last time in milliseconds when the directory scanner successfully ran.
|
long |
getLastVolumeFailureDate() |
Returns the date/time of the last volume failure in milliseconds since
epoch.
|
long |
getNumBlocksCached() |
Returns the number of blocks cached.
|
long |
getNumBlocksFailedToCache() |
Returns the number of blocks that the datanode was unable to cache
|
long |
getNumBlocksFailedToUncache() |
Returns the number of blocks that the datanode was unable to uncache
|
int |
getNumFailedVolumes() |
Returns the number of failed volumes in the datanode.
|
long |
getPendingAsyncDeletions() |
Returns the count of pending and running asynchronous disk operations.
|
long |
getRemaining() |
Returns the amount of free storage space (in bytes)
|
java.lang.String |
getStorageInfo() |
Returns the storage id of the underlying storage
|
long getBlockPoolUsed(java.lang.String bpid)
throws java.io.IOException
java.io.IOExceptionlong getDfsUsed()
throws java.io.IOException
java.io.IOExceptionlong getCapacity()
throws java.io.IOException
java.io.IOExceptionlong getRemaining()
throws java.io.IOException
java.io.IOExceptionjava.lang.String getStorageInfo()
int getNumFailedVolumes()
java.lang.String[] getFailedStorageLocations()
long getLastVolumeFailureDate()
long getEstimatedCapacityLostTotal()
long getCacheUsed()
long getCacheCapacity()
long getNumBlocksCached()
long getNumBlocksFailedToCache()
long getNumBlocksFailedToUncache()
long getLastDirScannerFinishTime()
long getPendingAsyncDeletions()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.