static class TestAsyncProcess.AsyncProcessForThrowableCheck extends Object
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.hadoop.hbase.client.ClusterConnection |
connection |
(package private) org.apache.hadoop.hbase.client.ConnectionConfiguration |
connectionConfiguration |
static int |
DEFAULT_START_LOG_ERRORS_AFTER_COUNT |
(package private) long |
id |
static String |
LOG_DETAILS_FOR_BATCH_ERROR |
static String |
LOG_DETAILS_PERIOD |
(package private) boolean |
logBatchErrorDetails |
(package private) int |
numTries |
static String |
PRIMARY_CALL_TIMEOUT_KEY |
(package private) long |
primaryCallTimeoutMicroseconds |
(package private) org.apache.hadoop.hbase.client.RequestController |
requestController |
(package private) org.apache.hadoop.hbase.ipc.RpcControllerFactory |
rpcFactory |
(package private) long |
serverTrackerTimeout |
static String |
START_LOG_ERRORS_AFTER_COUNT_KEY |
(package private) int |
startLogErrorsCnt |
Constructor and Description |
---|
AsyncProcessForThrowableCheck(org.apache.hadoop.hbase.client.ClusterConnection hc,
org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
addAction(org.apache.hadoop.hbase.ServerName arg0,
byte[] arg1,
org.apache.hadoop.hbase.client.Action arg2,
Map<org.apache.hadoop.hbase.ServerName,org.apache.hadoop.hbase.client.MultiAction> arg3,
long arg4) |
(package private) <CResult> org.apache.hadoop.hbase.client.AsyncRequestFutureImpl<CResult> |
createAsyncRequestFuture(org.apache.hadoop.hbase.client.AsyncProcessTask arg0,
List<org.apache.hadoop.hbase.client.Action> arg1,
long arg2) |
protected org.apache.hadoop.hbase.client.RpcRetryingCaller<org.apache.hadoop.hbase.client.AbstractResponse> |
createCaller(org.apache.hadoop.hbase.client.CancellableRegionServerCallable arg0,
int arg1) |
(package private) org.apache.hadoop.hbase.client.ConnectionImplementation.ServerErrorTracker |
createServerErrorTracker() |
(package private) void |
decTaskCounters(Collection<byte[]> arg0,
org.apache.hadoop.hbase.ServerName arg1) |
(package private) void |
incTaskCounters(Collection<byte[]> arg0,
org.apache.hadoop.hbase.ServerName arg1) |
(package private) static boolean |
isReplicaGet(org.apache.hadoop.hbase.client.Row arg0) |
<CResult> org.apache.hadoop.hbase.client.AsyncRequestFuture |
submit(org.apache.hadoop.hbase.client.AsyncProcessTask<CResult> arg0) |
(package private) <CResult> org.apache.hadoop.hbase.client.AsyncRequestFuture |
submitMultiActions(org.apache.hadoop.hbase.client.AsyncProcessTask arg0,
List<org.apache.hadoop.hbase.client.Action> arg1,
long arg2,
List<Exception> arg3,
List<Integer> arg4,
Map<org.apache.hadoop.hbase.ServerName,org.apache.hadoop.hbase.client.MultiAction> arg5) |
protected void |
waitForMaximumCurrentTasks(int arg0,
org.apache.hadoop.hbase.TableName arg1) |
public static final String PRIMARY_CALL_TIMEOUT_KEY
public static final String START_LOG_ERRORS_AFTER_COUNT_KEY
public static final int DEFAULT_START_LOG_ERRORS_AFTER_COUNT
public static final String LOG_DETAILS_FOR_BATCH_ERROR
final long id
final org.apache.hadoop.hbase.client.ClusterConnection connection
final org.apache.hadoop.hbase.client.ConnectionConfiguration connectionConfiguration
final org.apache.hadoop.hbase.ipc.RpcControllerFactory rpcFactory
final int startLogErrorsCnt
final int numTries
long serverTrackerTimeout
final long primaryCallTimeoutMicroseconds
final boolean logBatchErrorDetails
final org.apache.hadoop.hbase.client.RequestController requestController
public static final String LOG_DETAILS_PERIOD
public AsyncProcessForThrowableCheck(org.apache.hadoop.hbase.client.ClusterConnection hc, org.apache.hadoop.conf.Configuration conf)
public <CResult> org.apache.hadoop.hbase.client.AsyncRequestFuture submit(org.apache.hadoop.hbase.client.AsyncProcessTask<CResult> arg0) throws InterruptedIOException
InterruptedIOException
<CResult> org.apache.hadoop.hbase.client.AsyncRequestFuture submitMultiActions(org.apache.hadoop.hbase.client.AsyncProcessTask arg0, List<org.apache.hadoop.hbase.client.Action> arg1, long arg2, List<Exception> arg3, List<Integer> arg4, Map<org.apache.hadoop.hbase.ServerName,org.apache.hadoop.hbase.client.MultiAction> arg5)
static void addAction(org.apache.hadoop.hbase.ServerName arg0, byte[] arg1, org.apache.hadoop.hbase.client.Action arg2, Map<org.apache.hadoop.hbase.ServerName,org.apache.hadoop.hbase.client.MultiAction> arg3, long arg4)
<CResult> org.apache.hadoop.hbase.client.AsyncRequestFutureImpl<CResult> createAsyncRequestFuture(org.apache.hadoop.hbase.client.AsyncProcessTask arg0, List<org.apache.hadoop.hbase.client.Action> arg1, long arg2)
protected void waitForMaximumCurrentTasks(int arg0, org.apache.hadoop.hbase.TableName arg1) throws InterruptedIOException
InterruptedIOException
void incTaskCounters(Collection<byte[]> arg0, org.apache.hadoop.hbase.ServerName arg1)
void decTaskCounters(Collection<byte[]> arg0, org.apache.hadoop.hbase.ServerName arg1)
protected org.apache.hadoop.hbase.client.RpcRetryingCaller<org.apache.hadoop.hbase.client.AbstractResponse> createCaller(org.apache.hadoop.hbase.client.CancellableRegionServerCallable arg0, int arg1)
org.apache.hadoop.hbase.client.ConnectionImplementation.ServerErrorTracker createServerErrorTracker()
static boolean isReplicaGet(org.apache.hadoop.hbase.client.Row arg0)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.