Class ScanMetrics
java.lang.Object
org.apache.hadoop.hbase.client.metrics.ServerSideScanMetrics
org.apache.hadoop.hbase.client.metrics.ScanMetrics
Provides metrics related to scan operations (both server side and client side metrics).
The data can be passed to mapreduce framework or other systems. We use atomic longs so that one thread can increment, while another atomically resets to zero after the values are reported to hadoop's counters.
Some of these metrics are general for any client operation such as put However, there is no need for this. So they are defined under scan operation for now.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
final AtomicLong
number of bytes in Result objects from remote region serversfinal AtomicLong
number of bytes in Result objects from region serversfinal AtomicLong
number of NotServingRegionException caughtfinal AtomicLong
number of regionsfinal AtomicLong
number of remote RPC callsfinal AtomicLong
number of remote RPC retriesfinal AtomicLong
number of RPC callsfinal AtomicLong
number of RPC retriesstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
final AtomicLong
sum of milliseconds between sequential next callsFields inherited from class org.apache.hadoop.hbase.client.metrics.ServerSideScanMetrics
BLOCK_BYTES_SCANNED_KEY_METRIC_NAME, COUNT_OF_ROWS_FILTERED_KEY, COUNT_OF_ROWS_FILTERED_KEY_METRIC_NAME, COUNT_OF_ROWS_SCANNED_KEY, COUNT_OF_ROWS_SCANNED_KEY_METRIC_NAME, countOfBlockBytesScanned, countOfRowsFiltered, countOfRowsScanned, FS_READ_TIME_METRIC_NAME, fsReadTime
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.client.metrics.ServerSideScanMetrics
addToCounter, createCounter, getCounter, getMetricsMap, getMetricsMap, hasCounter, setCounter
-
Field Details
-
RPC_CALLS_METRIC_NAME
- See Also:
-
REMOTE_RPC_CALLS_METRIC_NAME
- See Also:
-
MILLIS_BETWEEN_NEXTS_METRIC_NAME
- See Also:
-
NOT_SERVING_REGION_EXCEPTION_METRIC_NAME
- See Also:
-
BYTES_IN_RESULTS_METRIC_NAME
- See Also:
-
BYTES_IN_REMOTE_RESULTS_METRIC_NAME
- See Also:
-
REGIONS_SCANNED_METRIC_NAME
- See Also:
-
RPC_RETRIES_METRIC_NAME
- See Also:
-
REMOTE_RPC_RETRIES_METRIC_NAME
- See Also:
-
countOfRPCcalls
number of RPC calls -
countOfRemoteRPCcalls
number of remote RPC calls -
sumOfMillisSecBetweenNexts
sum of milliseconds between sequential next calls -
countOfNSRE
number of NotServingRegionException caught -
countOfBytesInResults
number of bytes in Result objects from region servers -
countOfBytesInRemoteResults
number of bytes in Result objects from remote region servers -
countOfRegions
number of regions -
countOfRPCRetries
number of RPC retries -
countOfRemoteRPCRetries
number of remote RPC retries
-
-
Constructor Details
-
ScanMetrics
public ScanMetrics()constructor
-