Package org.apache.hadoop.hbase.metrics
Class ExceptionTrackingSourceImpl
java.lang.Object
org.apache.hadoop.hbase.metrics.BaseSourceImpl
org.apache.hadoop.hbase.metrics.ExceptionTrackingSourceImpl
- All Implemented Interfaces:
BaseSource
,ExceptionTrackingSource
,org.apache.hadoop.metrics2.MetricsSource
- Direct Known Subclasses:
MetricsHBaseServerSourceImpl
,MetricsThriftServerSourceImpl
@Private
public class ExceptionTrackingSourceImpl
extends BaseSourceImpl
implements ExceptionTrackingSource
Common base implementation for metrics sources which need to track exceptions thrown or received.
-
Field Summary
Modifier and TypeFieldDescriptionprotected MutableFastCounter
protected MutableFastCounter
protected MutableFastCounter
protected MutableFastCounter
protected MutableFastCounter
protected MutableFastCounter
protected MutableFastCounter
protected MutableFastCounter
protected MutableFastCounter
protected MutableFastCounter
protected MutableFastCounter
protected MutableFastCounter
protected MutableFastCounter
protected MutableFastCounter
protected MutableFastCounter
protected MutableFastCounter
Fields inherited from class org.apache.hadoop.hbase.metrics.BaseSourceImpl
metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registry
Fields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAME
Fields inherited from interface org.apache.hadoop.hbase.metrics.ExceptionTrackingSource
EXCEPTIONS_BUSY_NAME, EXCEPTIONS_CALL_DROPPED, EXCEPTIONS_CALL_QUEUE_TOO_BIG, EXCEPTIONS_CALL_QUEUE_TOO_BIG_DESC, EXCEPTIONS_CALL_TIMED_OUT, EXCEPTIONS_DESC, EXCEPTIONS_MOVED_NAME, EXCEPTIONS_MULTI_TOO_LARGE_DESC, EXCEPTIONS_MULTI_TOO_LARGE_NAME, EXCEPTIONS_NAME, EXCEPTIONS_NSRE_NAME, EXCEPTIONS_OOO_NAME, EXCEPTIONS_QUOTA_EXCEEDED, EXCEPTIONS_REQUEST_TOO_BIG, EXCEPTIONS_RPC_THROTTLING, EXCEPTIONS_SANITY_NAME, EXCEPTIONS_SCANNER_RESET_NAME, EXCEPTIONS_TYPE_DESC, EXCEPTIONS_UNKNOWN_NAME, OTHER_EXCEPTIONS
-
Constructor Summary
ConstructorDescriptionExceptionTrackingSourceImpl
(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
init()
Clear out the metrics and re-prepare the source.void
void
void
void
void
Different types of exceptionsvoid
void
void
void
void
void
Methods inherited from class org.apache.hadoop.hbase.metrics.BaseSourceImpl
decGauge, getMetrics, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, removeMetric, setGauge, updateHistogram
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, removeMetric, setGauge, updateHistogram
-
Field Details
-
exceptions
-
exceptionsOOO
-
exceptionsBusy
-
exceptionsUnknown
-
exceptionsScannerReset
-
exceptionsSanity
-
exceptionsNSRE
-
exceptionsMoved
-
exceptionsMultiTooLarge
-
exceptionsCallQueueTooBig
-
exceptionsQuotaExceeded
-
exceptionsRpcThrottling
-
exceptionsCallDropped
-
exceptionsCallTimedOut
-
exceptionRequestTooBig
-
otherExceptions
-
-
Constructor Details
-
ExceptionTrackingSourceImpl
public ExceptionTrackingSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext)
-
-
Method Details
-
init
Description copied from interface:BaseSource
Clear out the metrics and re-prepare the source.- Specified by:
init
in interfaceBaseSource
- Overrides:
init
in classBaseSourceImpl
-
exception
- Specified by:
exception
in interfaceExceptionTrackingSource
-
outOfOrderException
Description copied from interface:ExceptionTrackingSource
Different types of exceptions- Specified by:
outOfOrderException
in interfaceExceptionTrackingSource
-
failedSanityException
- Specified by:
failedSanityException
in interfaceExceptionTrackingSource
-
movedRegionException
- Specified by:
movedRegionException
in interfaceExceptionTrackingSource
-
notServingRegionException
- Specified by:
notServingRegionException
in interfaceExceptionTrackingSource
-
unknownScannerException
- Specified by:
unknownScannerException
in interfaceExceptionTrackingSource
-
scannerResetException
- Specified by:
scannerResetException
in interfaceExceptionTrackingSource
-
tooBusyException
- Specified by:
tooBusyException
in interfaceExceptionTrackingSource
-
multiActionTooLargeException
- Specified by:
multiActionTooLargeException
in interfaceExceptionTrackingSource
-
callQueueTooBigException
- Specified by:
callQueueTooBigException
in interfaceExceptionTrackingSource
-
quotaExceededException
- Specified by:
quotaExceededException
in interfaceExceptionTrackingSource
-
rpcThrottlingException
- Specified by:
rpcThrottlingException
in interfaceExceptionTrackingSource
-
callDroppedException
- Specified by:
callDroppedException
in interfaceExceptionTrackingSource
-
callTimedOut
- Specified by:
callTimedOut
in interfaceExceptionTrackingSource
-
requestTooBigException
- Specified by:
requestTooBigException
in interfaceExceptionTrackingSource
-
otherExceptions
- Specified by:
otherExceptions
in interfaceExceptionTrackingSource
-