Package org.apache.hadoop.hbase.master
Class MetricsAssignmentManager
java.lang.Object
org.apache.hadoop.hbase.master.MetricsAssignmentManager
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MetricsAssignmentManagerSource
private final ProcedureMetrics
private final ProcedureMetrics
private final ProcedureMetrics
private final ProcedureMetrics
private final ProcedureMetrics
private final ProcedureMetrics
private final ProcedureMetrics
private final ProcedureMetrics
-
Constructor Summary
-
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 procedurevoid
void
updateDeadServerOpenRegions
(int deadRegions) void
updateEmptyRegionInfoRegions
(int emptyRegionInfoRegions) void
updateHoles
(int holes) void
updateInconsistentRegions
(int inconsistentRegions) void
updateOrphanRegionsOnFs
(int orphanRegionsOnFs) void
updateOrphanRegionsOnRs
(int orphanRegionsOnRs) void
updateOverlaps
(int overlaps) void
updateRITCount
(int ritCount) set new value for number of regions in transition.void
updateRITCountOverThreshold
(int ritCountOverThreshold) update RIT count that are in this state for more than the threshold as defined by the property rit.metrics.threshold.time.void
updateRitDuration
(long duration) update the duration metrics of region is transitionvoid
updateRITOldestAge
(long timestamp) update the timestamp for oldest region in transition metrics.void
updateUnknownServerOpenRegions
(int unknownRegions) void
updateUnknownServerRegions
(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
-