Interface ReplicatedBlocksMBean
- All Known Implementing Classes:
FSNamesystem
@Private
public interface ReplicatedBlocksMBean
This interface defines the methods to get status pertaining to blocks of type
BlockType.CONTIGUOUS in FSNamesystem
of a NameNode. It is also used for publishing via JMX.
Aggregated status of all blocks is reported in
-
Method Summary
Modifier and TypeMethodDescriptionlongReturn count of badly distributed blockslongReturn total bytes of future blocks.longReturn corrupt blocks count.longReturn low redundancy blocks count.longReturn missing blocks count.longReturn count of missing blocks with replication factor one.longReturn count of blocks that are pending deletion.longReturn total number of replicated blocks.
-
Method Details
-
getLowRedundancyReplicatedBlocks
long getLowRedundancyReplicatedBlocks()Return low redundancy blocks count. -
getCorruptReplicatedBlocks
long getCorruptReplicatedBlocks()Return corrupt blocks count. -
getMissingReplicatedBlocks
long getMissingReplicatedBlocks()Return missing blocks count. -
getMissingReplicationOneBlocks
long getMissingReplicationOneBlocks()Return count of missing blocks with replication factor one. -
getBadlyDistributedBlocks
long getBadlyDistributedBlocks()Return count of badly distributed blocks -
getBytesInFutureReplicatedBlocks
long getBytesInFutureReplicatedBlocks()Return total bytes of future blocks. -
getPendingDeletionReplicatedBlocks
long getPendingDeletionReplicatedBlocks()Return count of blocks that are pending deletion. -
getTotalReplicatedBlocks
long getTotalReplicatedBlocks()Return total number of replicated blocks.
-