Interface ECBlockGroupsMBean
- All Known Implementing Classes:
FSNamesystem
@Private
public interface ECBlockGroupsMBean
This interface defines the methods to get status pertaining to blocks of type
BlockType.STRIPED 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 total bytes of erasure coded future block groups.longReturn count of erasure coded block groups that are corrupt.longReturn count of erasure coded block groups with low redundancy.longReturn count of erasure coded block groups that are missing.longReturn count of erasure coded blocks that are pending deletion.longReturn total number of erasure coded block groups.
-
Method Details
-
getLowRedundancyECBlockGroups
long getLowRedundancyECBlockGroups()Return count of erasure coded block groups with low redundancy. -
getCorruptECBlockGroups
long getCorruptECBlockGroups()Return count of erasure coded block groups that are corrupt. -
getMissingECBlockGroups
long getMissingECBlockGroups()Return count of erasure coded block groups that are missing. -
getBytesInFutureECBlockGroups
long getBytesInFutureECBlockGroups()Return total bytes of erasure coded future block groups. -
getPendingDeletionECBlocks
long getPendingDeletionECBlocks()Return count of erasure coded blocks that are pending deletion. -
getTotalECBlockGroups
long getTotalECBlockGroups()Return total number of erasure coded block groups. -
getEnabledEcPolicies
String getEnabledEcPolicies()- Returns:
- the enabled erasure coding policies separated with comma.
-