|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.)
Name Node runtime statistic info is report in another MBean
NameNodeStatisticsMBean
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 |
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 |
int |
numDeadDataNodes()
Number of dead data nodes |
int |
numLiveDataNodes()
Number of Live data nodes |
Method Detail |
---|
String getFSState()
long getBlocksTotal()
long getCapacityTotal()
long getCapacityRemaining()
long getCapacityUsed()
long getFilesTotal()
long getPendingReplicationBlocks()
long getUnderReplicatedBlocks()
long getScheduledReplicationBlocks()
int getTotalLoad()
int numLiveDataNodes()
int numDeadDataNodes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |