static class TestAsyncProcess.AsyncProcessWithFailure extends TestAsyncProcess.MyAsyncProcess
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.hadoop.hbase.client.ClusterConnection |
connection |
static int |
DEFAULT_START_LOG_ERRORS_AFTER_COUNT |
(package private) long |
id |
private IOException |
ioe |
static String |
LOG_DETAILS_FOR_BATCH_ERROR |
static String |
LOG_DETAILS_PERIOD |
(package private) boolean |
logBatchErrorDetails |
(package private) int |
numTries |
(package private) long |
pause |
(package private) long |
pauseForCQTBE |
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 |
allReqs, callsCt, nbActions, nbMultiResponse, service
Constructor and Description |
---|
AsyncProcessWithFailure(org.apache.hadoop.hbase.client.ClusterConnection hc,
org.apache.hadoop.conf.Configuration conf,
IOException ioe) |
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) |
protected org.apache.hadoop.hbase.client.RpcRetryingCaller<org.apache.hadoop.hbase.client.AbstractResponse> |
createCaller(org.apache.hadoop.hbase.client.CancellableRegionServerCallable callable,
int rpcTimeout) |
(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) |
(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) |
createAsyncRequestFuture, submit, submit, submit
private final IOException ioe
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.ipc.RpcControllerFactory rpcFactory
final int startLogErrorsCnt
final long pause
final long pauseForCQTBE
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 AsyncProcessWithFailure(org.apache.hadoop.hbase.client.ClusterConnection hc, org.apache.hadoop.conf.Configuration conf, IOException ioe)
protected org.apache.hadoop.hbase.client.RpcRetryingCaller<org.apache.hadoop.hbase.client.AbstractResponse> createCaller(org.apache.hadoop.hbase.client.CancellableRegionServerCallable callable, int rpcTimeout)
createCaller
in class TestAsyncProcess.MyAsyncProcess
<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)
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)
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.