Class MetaTableMetrics
java.lang.Object
org.apache.hadoop.hbase.coprocessor.MetaTableMetrics
- All Implemented Interfaces:
Coprocessor
,RegionCoprocessor
A coprocessor that collects metrics from meta table.
These metrics will be available through the regular Hadoop metrics2 sinks (ganglia, opentsdb, etc) as well as JMX output.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
(package private) static enum
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.Coprocessor
Coprocessor.State
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private LossyCounting<String>
private org.apache.hbase.thirdparty.com.google.common.collect.ImmutableMap<Class<? extends Row>,
MetaTableMetrics.MetaTableOps> private LossyCounting<String>
private MetricRegistry
Fields inherited from interface org.apache.hadoop.hbase.Coprocessor
PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called by theCoprocessorEnvironment
during it's own startup to initialize the coprocessor.void
Called by theCoprocessorEnvironment
during it's own shutdown to stop the coprocessor.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.Coprocessor
getServices
Methods inherited from interface org.apache.hadoop.hbase.coprocessor.RegionCoprocessor
getBulkLoadObserver, getEndpointObserver
-
Field Details
-
observer
-
registry
-
clientMetricsLossyCounting
-
regionMetricsLossyCounting
-
active
-
metrics
-
opsNameMap
private org.apache.hbase.thirdparty.com.google.common.collect.ImmutableMap<Class<? extends Row>,MetaTableMetrics.MetaTableOps> opsNameMap
-
-
Constructor Details
-
MetaTableMetrics
public MetaTableMetrics()
-
-
Method Details
-
getRegionObserver
- Specified by:
getRegionObserver
in interfaceRegionCoprocessor
-
start
Description copied from interface:Coprocessor
Called by theCoprocessorEnvironment
during it's own startup to initialize the coprocessor.- Specified by:
start
in interfaceCoprocessor
- Throws:
IOException
-
stop
Description copied from interface:Coprocessor
Called by theCoprocessorEnvironment
during it's own shutdown to stop the coprocessor.- Specified by:
stop
in interfaceCoprocessor
- Throws:
IOException
-