Package org.apache.hadoop.hbase.client
Class AsyncConnectionConfiguration
java.lang.Object
org.apache.hadoop.hbase.client.AsyncConnectionConfiguration
Timeout configs.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private final int
private final int
private final long
private final long
private final int
private final long
private final long
private final long
private final long
private final long
private final long
private final long
private final long
private final long
private final int
private final long
private final long
static final String
Configure the number of failures after which the client will start logging.private final int
How many retries are allowed before we start to logprivate final long
private final long
private final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) int
(package private) int
(package private) long
(package private) long
(package private) int
(package private) long
(package private) long
(package private) long
(package private) long
(package private) long
(package private) long
(package private) long
(package private) long
(package private) long
(package private) int
(package private) long
(package private) long
(package private) int
(package private) long
(package private) long
(package private) long
-
Field Details
-
START_LOG_ERRORS_AFTER_COUNT_KEY
Configure the number of failures after which the client will start logging. A few failures is fine: region moved, then is not opened, then is overloaded. We try to have an acceptable heuristic for the number of errors we don't log. 5 was chosen because we wait for 1s at this stage.- See Also:
-
DEFAULT_START_LOG_ERRORS_AFTER_COUNT
- See Also:
-
metaOperationTimeoutNs
-
operationTimeoutNs
-
rpcTimeoutNs
-
readRpcTimeoutNs
-
metaReadRpcTimeoutNs
-
writeRpcTimeoutNs
-
pauseNs
-
pauseNsForServerOverloaded
-
maxRetries
-
startLogErrorsCnt
How many retries are allowed before we start to log -
scanTimeoutNs
-
metaScanTimeoutNs
-
scannerCaching
-
metaScannerCaching
-
scannerMaxResultSize
-
writeBufferSize
-
writeBufferPeriodicFlushTimeoutNs
-
-
primaryScanTimeoutNs
-
primaryMetaScanTimeoutNs
-
maxKeyValueSize
-
-
Constructor Details
-
AsyncConnectionConfiguration
AsyncConnectionConfiguration(org.apache.hadoop.conf.Configuration conf)
-
-
Method Details
-
getMetaOperationTimeoutNs
long getMetaOperationTimeoutNs() -
getOperationTimeoutNs
long getOperationTimeoutNs() -
getRpcTimeoutNs
long getRpcTimeoutNs() -
getReadRpcTimeoutNs
long getReadRpcTimeoutNs() -
getMetaReadRpcTimeoutNs
long getMetaReadRpcTimeoutNs() -
getWriteRpcTimeoutNs
long getWriteRpcTimeoutNs() -
getPauseNs
long getPauseNs() -
getPauseNsForServerOverloaded
-
getMaxRetries
int getMaxRetries() -
getStartLogErrorsCnt
int getStartLogErrorsCnt() -
getScanTimeoutNs
long getScanTimeoutNs() -
getMetaScanTimeoutNs
long getMetaScanTimeoutNs() -
getScannerCaching
int getScannerCaching() -
getMetaScannerCaching
int getMetaScannerCaching() -
getScannerMaxResultSize
long getScannerMaxResultSize() -
getWriteBufferSize
long getWriteBufferSize() -
getWriteBufferPeriodicFlushTimeoutNs
-
getPrimaryCallTimeoutNs
long getPrimaryCallTimeoutNs() -
getPrimaryScanTimeoutNs
long getPrimaryScanTimeoutNs() -
getPrimaryMetaScanTimeoutNs
long getPrimaryMetaScanTimeoutNs() -
getMaxKeyValueSize
int getMaxKeyValueSize()
-