|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Private public interface FSNamesystemMBean
This Interface defines the methods to get the status of a the FSNamesystem of a name node. It is also used for publishing via JMX (hence we follow the JMX naming convention.) Note we have not used the MetricsDynamicMBeanBase to implement this because the interface for the NameNodeStateMBean is stable and should be published as an interface.
Name Node runtime activity statistic info is report in another MBean
NameNodeActivityMBean
Method Summary | |
---|---|
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 |
getFilesTotal()
Total number of files and directories |
String |
getFSState()
The state of the file system: Safemode or Operational |
int |
getNumDeadDataNodes()
Number of dead data nodes |
int |
getNumLiveDataNodes()
Number of Live data nodes |
long |
getPendingReplicationBlocks()
Blocks pending to be replicated |
long |
getScheduledReplicationBlocks()
Blocks scheduled for replication |
int |
getTotalLoad()
Total Load on the FSNamesystem |
long |
getUnderReplicatedBlocks()
Blocks under replicated |
Method Detail |
---|
String getFSState()
long getBlocksTotal()
long getCapacityTotal()
long getCapacityRemaining()
long getCapacityUsed()
long getFilesTotal()
long getPendingReplicationBlocks()
long getUnderReplicatedBlocks()
long getScheduledReplicationBlocks()
int getTotalLoad()
int getNumLiveDataNodes()
int getNumDeadDataNodes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |