private static class TestAsyncProcessWithRegionException.MyAsyncProcess extends Object
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 |
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 |
private ExecutorService |
service |
static String |
START_LOG_ERRORS_AFTER_COUNT_KEY |
(package private) int |
startLogErrorsCnt |
Constructor and Description |
---|
MyAsyncProcess(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 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) |
<CResult> org.apache.hadoop.hbase.client.AsyncRequestFuture |
submit(org.apache.hadoop.hbase.client.AsyncProcessTask<CResult> arg0) |
org.apache.hadoop.hbase.client.AsyncRequestFuture |
submit(org.apache.hadoop.hbase.TableName tableName,
List<? extends org.apache.hadoop.hbase.client.Row> rows) |
(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) |
private final ExecutorService service
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
MyAsyncProcess(org.apache.hadoop.hbase.client.ClusterConnection hc, org.apache.hadoop.conf.Configuration conf)
public org.apache.hadoop.hbase.client.AsyncRequestFuture submit(org.apache.hadoop.hbase.TableName tableName, List<? extends org.apache.hadoop.hbase.client.Row> rows) throws InterruptedIOException
InterruptedIOException
protected org.apache.hadoop.hbase.client.RpcRetryingCaller<org.apache.hadoop.hbase.client.AbstractResponse> createCaller(org.apache.hadoop.hbase.client.CancellableRegionServerCallable callable, int rpcTimeout)
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)
org.apache.hadoop.hbase.client.ConnectionImplementation.ServerErrorTracker createServerErrorTracker()
static boolean isReplicaGet(org.apache.hadoop.hbase.client.Row arg0)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.