@InterfaceAudience.Private public interface MetricsAssignmentManagerSource extends BaseSource
HBASE_METRICS_SYSTEM_NAME
Modifier and Type | Method and Description |
---|---|
OperationMetrics |
getAssignMetrics()
Returns
OperationMetrics containing common metrics for assign region operation |
OperationMetrics |
getCloseMetrics()
Returns
OperationMetrics containing common metrics for close region request |
OperationMetrics |
getMergeMetrics()
Returns
OperationMetrics containing common metrics for merge operation |
OperationMetrics |
getMoveMetrics()
Returns
OperationMetrics containing common metrics for move region operation |
OperationMetrics |
getOpenMetrics()
Returns
OperationMetrics containing common metrics for open region request |
OperationMetrics |
getReopenMetrics()
Returns
OperationMetrics containing common metrics for reopen region operation |
OperationMetrics |
getSplitMetrics()
Returns
OperationMetrics containing common metrics for split operation |
OperationMetrics |
getUnassignMetrics()
Returns
OperationMetrics containing common metrics for unassign region operation |
void |
incrementOperationCounter()
TODO: Remove.
|
void |
setEmptyRegionInfoRegions(int emptyRegionInfoRegions)
Set the number of regions with empty region info.
|
void |
setHoles(int holes)
Set the number of holes.
|
void |
setInconsistentRegions(int inconsistentRegions)
Set the number of inconsistent regions.
|
void |
setOrphanRegionsOnFs(int orphanRegionsOnFs)
Set the number of orphan regions on FS.
|
void |
setOrphanRegionsOnRs(int orphanRegionsOnRs)
Set the number of orphan regions on RS.
|
void |
setOverlaps(int overlaps)
Set the number of overlaps.
|
void |
setRIT(int ritCount)
Set the number of regions in transition.
|
void |
setRITCountOverThreshold(int ritCountOverThreshold)
Set the count of the number of regions that have been in transition over the threshold time.
|
void |
setRITOldestAge(long age)
Set the oldest region in transition.
|
void |
setUnknownServerRegions(int unknownServerRegions)
Set the number of unknown server regions.
|
void |
updateDeadServerOpenRegions(int deadRegions) |
void |
updateRitDuration(long duration) |
void |
updateUnknownServerOpenRegions(int unknownRegions) |
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram
static final String METRICS_NAME
static final String METRICS_CONTEXT
static final String METRICS_JMX_CONTEXT
static final String METRICS_DESCRIPTION
static final String RIT_COUNT_NAME
static final String RIT_COUNT_OVER_THRESHOLD_NAME
static final String RIT_OLDEST_AGE_NAME
static final String RIT_DURATION_NAME
static final String DEAD_SERVER_OPEN_REGIONS
static final String UNKNOWN_SERVER_OPEN_REGIONS
static final String RIT_COUNT_DESC
static final String RIT_COUNT_OVER_THRESHOLD_DESC
static final String RIT_OLDEST_AGE_DESC
static final String RIT_DURATION_DESC
static final String ORPHAN_REGIONS_ON_RS
static final String ORPHAN_REGIONS_ON_FS
static final String INCONSISTENT_REGIONS
static final String ORPHAN_REGIONS_ON_RS_DESC
static final String ORPHAN_REGIONS_ON_FS_DESC
static final String INCONSISTENT_REGIONS_DESC
static final String HOLES
static final String OVERLAPS
static final String UNKNOWN_SERVER_REGIONS
static final String EMPTY_REGION_INFO_REGIONS
static final String HOLES_DESC
static final String OVERLAPS_DESC
static final String UNKNOWN_SERVER_REGIONS_DESC
static final String EMPTY_REGION_INFO_REGIONS_DESC
static final String ASSIGN_METRIC_PREFIX
static final String UNASSIGN_METRIC_PREFIX
static final String MOVE_METRIC_PREFIX
static final String REOPEN_METRIC_PREFIX
static final String OPEN_METRIC_PREFIX
static final String CLOSE_METRIC_PREFIX
static final String SPLIT_METRIC_PREFIX
static final String MERGE_METRIC_PREFIX
static final String OPERATION_COUNT_NAME
void setRIT(int ritCount)
ritCount
- count of the regions in transition.void setRITCountOverThreshold(int ritCountOverThreshold)
ritCountOverThreshold
- number of regions in transition for longer than threshold.void setRITOldestAge(long age)
age
- age of the oldest RIT.void updateRitDuration(long duration)
void updateDeadServerOpenRegions(int deadRegions)
void updateUnknownServerOpenRegions(int unknownRegions)
void setOrphanRegionsOnRs(int orphanRegionsOnRs)
orphanRegionsOnRs
- count of the orphan regions on RS in HBCK chore report.void setOrphanRegionsOnFs(int orphanRegionsOnFs)
orphanRegionsOnFs
- count of the orphan regions on FS in HBCK chore report.void setInconsistentRegions(int inconsistentRegions)
inconsistentRegions
- count of the inconsistent regions in HBCK chore report.void setHoles(int holes)
holes
- count of the holes in CatalogJanitor Consistency report.void setOverlaps(int overlaps)
overlaps
- count of the overlaps in CatalogJanitor Consistency report.void setUnknownServerRegions(int unknownServerRegions)
unknownServerRegions
- count of the unknown server regions in CatalogJanitor Consistency
report.void setEmptyRegionInfoRegions(int emptyRegionInfoRegions)
emptyRegionInfoRegions
- count of the regions with empty region info in CatalogJanitor
Consistency report.void incrementOperationCounter()
OperationMetrics getAssignMetrics()
OperationMetrics
containing common metrics for assign region operationOperationMetrics getUnassignMetrics()
OperationMetrics
containing common metrics for unassign region operationOperationMetrics getMoveMetrics()
OperationMetrics
containing common metrics for move region operationOperationMetrics getReopenMetrics()
OperationMetrics
containing common metrics for reopen region operationOperationMetrics getOpenMetrics()
OperationMetrics
containing common metrics for open region requestOperationMetrics getCloseMetrics()
OperationMetrics
containing common metrics for close region requestOperationMetrics getSplitMetrics()
OperationMetrics
containing common metrics for split operationOperationMetrics getMergeMetrics()
OperationMetrics
containing common metrics for merge operationCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.