Uses of Class
org.apache.hadoop.hbase.client.metrics.ScanMetrics
Package
Description
Provides HBase Client
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
-
Uses of ScanMetrics in org.apache.hadoop.hbase.client
Modifier and TypeFieldDescriptionprotected ScanMetrics
AbstractClientScanner.scanMetrics
private final ScanMetrics
AsyncClientScanner.scanMetrics
private ScanMetrics
AsyncRpcRetryingCallerFactory.ScanSingleRegionCallerBuilder.scanMetrics
private final ScanMetrics
AsyncScanSingleRegionRpcRetryingCaller.scanMetrics
private ScanMetrics
AsyncTableResultScanner.scanMetrics
protected ScanMetrics
ScannerCallable.scanMetrics
Modifier and TypeMethodDescriptionAbstractClientScanner.getScanMetrics()
Used internally accumulating metrics on scan.AsyncTableResultScanner.getScanMetrics()
ResultScanner.getScanMetrics()
Returns the scan metrics, ornull
if we do not enable metrics.Scan.getScanMetrics()
Deprecated.Modifier and TypeMethodDescription(package private) static void
ConnectionUtils.incRegionCountMetrics
(ScanMetrics scanMetrics) (package private) static void
ConnectionUtils.incRPCCallsMetrics
(ScanMetrics scanMetrics, boolean isRegionServerRemote) (package private) static void
ConnectionUtils.incRPCRetriesMetrics
(ScanMetrics scanMetrics, boolean isRegionServerRemote) AsyncRpcRetryingCallerFactory.ScanSingleRegionCallerBuilder.metrics
(ScanMetrics scanMetrics) void
AsyncTableResultScanner.onScanMetricsCreated
(ScanMetrics scanMetrics) default void
ScanResultConsumerBase.onScanMetricsCreated
(ScanMetrics scanMetrics) Ifscan.isScanMetricsEnabled()
returns true, then this method will be called prior to all other methods in this interface to give you theScanMetrics
instance for this scan operation.(package private) static void
ConnectionUtils.updateResultsMetrics
(ScanMetrics scanMetrics, Result[] rrs, boolean isRegionServerRemote) (package private) static void
ConnectionUtils.updateServerSideMetrics
(ScanMetrics scanMetrics, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanResponse response) Use the scan metrics returned by the server to add to the identically named counters in the client side metrics.ModifierConstructorDescriptionAsyncScanSingleRegionRpcRetryingCaller
(org.apache.hbase.thirdparty.io.netty.util.Timer retryTimer, AsyncConnectionImpl conn, Scan scan, ScanMetrics scanMetrics, long scannerId, ScanResultCache resultCache, AdvancedScanResultConsumer consumer, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interface stub, HRegionLocation loc, boolean isRegionServerRemote, int priority, long scannerLeaseTimeoutPeriodNs, long pauseNs, long pauseNsForServerOverloaded, int maxAttempts, long scanTimeoutNs, long rpcTimeoutNs, int startLogErrorsCnt, Map<String, byte[]> requestAttributes) ClientSideRegionScanner
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootDir, TableDescriptor htd, RegionInfo hri, Scan scan, ScanMetrics scanMetrics) ReversedScannerCallable
(ClusterConnection connection, TableName tableName, Scan scan, ScanMetrics scanMetrics, RpcControllerFactory rpcFactory, int replicaId, Map<String, byte[]> requestAttributes) ScannerCallable
(ClusterConnection connection, TableName tableName, Scan scan, ScanMetrics scanMetrics, RpcControllerFactory rpcControllerFactory, int id, Map<String, byte[]> requestAttributes) -
Uses of ScanMetrics in org.apache.hadoop.hbase.mapreduce
Modifier and TypeMethodDescriptionprotected static void
TableRecordReaderImpl.updateCounters
(ScanMetrics scanMetrics, long numScannerRestarts, Method getCounter, org.apache.hadoop.mapreduce.TaskAttemptContext context, long numStale) Deprecated.since 2.4.0 and 2.3.2, will be removed in 4.0.0 UseTableRecordReaderImpl.updateCounters(ScanMetrics, long, TaskAttemptContext, long)
instead.protected static void
TableRecordReaderImpl.updateCounters
(ScanMetrics scanMetrics, long numScannerRestarts, org.apache.hadoop.mapreduce.TaskAttemptContext context, long numStale) -
Uses of ScanMetrics in org.apache.hadoop.hbase.master.region
-
Uses of ScanMetrics in org.apache.hadoop.hbase.thrift2.client
ResultScanner.getScanMetrics()
instead.