@InterfaceAudience.Private public interface FSDatasetMBean
Data Node runtime statistic info is report in another MBean
DataNodeMetrics
Modifier and Type | Method and Description |
---|---|
long |
getBlockPoolUsed(String bpid)
Returns the total space (in bytes) used by a block pool
|
long |
getCapacity()
Returns total capacity (in bytes) of storage (used and unused)
|
long |
getDfsUsed()
Returns the total space (in bytes) used by dfs datanode
|
int |
getNumFailedVolumes()
Returns the number of failed volumes in the datanode.
|
long |
getRemaining()
Returns the amount of free storage space (in bytes)
|
String |
getStorageInfo()
Returns the storage id of the underlying storage
|
long getBlockPoolUsed(String bpid) throws IOException
IOException
long getDfsUsed() throws IOException
IOException
long getCapacity()
long getRemaining() throws IOException
IOException
String getStorageInfo()
int getNumFailedVolumes()
Copyright © 2013 Apache Software Foundation. All rights reserved.