Package org.apache.hadoop.hbase.master
Class MetricsAssignmentManager
java.lang.Object
org.apache.hadoop.hbase.master.MetricsAssignmentManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MetricsAssignmentManagerSourceprivate final ProcedureMetricsprivate final ProcedureMetricsprivate final ProcedureMetricsprivate final ProcedureMetricsprivate final ProcedureMetricsprivate final ProcedureMetricsprivate final ProcedureMetricsprivate final ProcedureMetrics -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns Set of common metrics for assign procedureReturns Set of common metrics for CloseRegionProcedureReturns Set of common metrics for merge procedureReturns Set of common metrics for move procedureReturns Set of common metrics for OpenRegionProcedureReturns Set of common metrics for reopen procedureReturns Set of common metrics for split procedureReturns Set of common metrics for unassign procedurevoidvoidupdateDeadServerOpenRegions(int deadRegions) voidupdateEmptyRegionInfoRegions(int emptyRegionInfoRegions) voidupdateHoles(int holes) voidupdateInconsistentRegions(int inconsistentRegions) voidupdateOrphanRegionsOnFs(int orphanRegionsOnFs) voidupdateOrphanRegionsOnRs(int orphanRegionsOnRs) voidupdateOverlaps(int overlaps) voidupdateRITCount(int ritCount) set new value for number of regions in transition.voidupdateRITCountOverThreshold(int ritCountOverThreshold) update RIT count that are in this state for more than the threshold as defined by the property rit.metrics.threshold.time.voidupdateRitDuration(long duration) update the duration metrics of region is transitionvoidupdateRITOldestAge(long timestamp) update the timestamp for oldest region in transition metrics.voidupdateUnknownServerOpenRegions(int unknownRegions) voidupdateUnknownServerRegions(int unknownServerRegions)
-
Field Details
-
assignmentManagerSource
-
assignProcMetrics
-
unassignProcMetrics
-
moveProcMetrics
-
reopenProcMetrics
-
openProcMetrics
-
closeProcMetrics
-
splitProcMetrics
-
mergeProcMetrics
-
-
Constructor Details
-
MetricsAssignmentManager
public MetricsAssignmentManager()
-
-
Method Details
-
getMetricsProcSource
-
updateRITCount
set new value for number of regions in transition. -
updateRITCountOverThreshold
update RIT count that are in this state for more than the threshold as defined by the property rit.metrics.threshold.time. -
updateRITOldestAge
update the timestamp for oldest region in transition metrics. -
updateRitDuration
update the duration metrics of region is transition -
incrementOperationCounter
-
updateDeadServerOpenRegions
-
updateUnknownServerOpenRegions
-
updateOrphanRegionsOnRs
-
updateOrphanRegionsOnFs
-
updateInconsistentRegions
-
updateHoles
-
updateOverlaps
-
updateUnknownServerRegions
-
updateEmptyRegionInfoRegions
-
getAssignProcMetrics
Returns Set of common metrics for assign procedure -
getUnassignProcMetrics
Returns Set of common metrics for unassign procedure -
getMoveProcMetrics
Returns Set of common metrics for move procedure -
getReopenProcMetrics
Returns Set of common metrics for reopen procedure -
getOpenProcMetrics
Returns Set of common metrics for OpenRegionProcedure -
getCloseProcMetrics
Returns Set of common metrics for CloseRegionProcedure -
getSplitProcMetrics
Returns Set of common metrics for split procedure -
getMergeProcMetrics
Returns Set of common metrics for merge procedure
-