@InterfaceAudience.Public @InterfaceStability.Evolving public class ScanMetrics extends ServerSideScanMetrics
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.
Modifier and Type | Field and Description |
---|---|
AtomicLong |
countOfBytesInRemoteResults
number of bytes in Result objects from remote region servers
|
AtomicLong |
countOfBytesInResults
number of bytes in Result objects from region servers
|
AtomicLong |
countOfNSRE
number of NotServingRegionException caught
|
AtomicLong |
countOfRegions
number of regions
|
AtomicLong |
countOfRemoteRPCcalls
number of remote RPC calls
|
AtomicLong |
countOfRemoteRPCRetries
number of remote RPC retries
|
AtomicLong |
countOfRPCcalls
number of RPC calls
|
AtomicLong |
countOfRPCRetries
number of RPC retries
|
AtomicLong |
sumOfMillisSecBetweenNexts
sum of milliseconds between sequential next calls
|
COUNT_OF_ROWS_FILTERED_KEY, COUNT_OF_ROWS_SCANNED_KEY, countOfRowsFiltered, countOfRowsScanned
Constructor and Description |
---|
ScanMetrics()
constructor
|
addToCounter, createCounter, getCounter, getMetricsMap, hasCounter, setCounter
public final AtomicLong countOfRPCcalls
public final AtomicLong countOfRemoteRPCcalls
public final AtomicLong sumOfMillisSecBetweenNexts
public final AtomicLong countOfNSRE
public final AtomicLong countOfBytesInResults
public final AtomicLong countOfBytesInRemoteResults
public final AtomicLong countOfRegions
public final AtomicLong countOfRPCRetries
public final AtomicLong countOfRemoteRPCRetries
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.