public abstract class ClientPushbackTestBase extends Object
Modifier and Type | Field and Description |
---|---|
private static byte[] |
family |
private static long |
flushSizeBytes |
private static org.slf4j.Logger |
LOG |
private static byte[] |
qualifier |
protected static org.apache.hadoop.hbase.TableName |
tableName |
protected static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
ClientPushbackTestBase() |
Modifier and Type | Method and Description |
---|---|
static void |
cleanupCluster() |
protected abstract org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy |
getBackoffPolicy() |
protected abstract org.apache.hadoop.hbase.client.MetricsConnection |
getConnectionMetrics() |
protected abstract org.apache.hadoop.hbase.client.ServerStatisticTracker |
getStatisticsTracker() |
protected abstract void |
mutate(org.apache.hadoop.hbase.client.Put put) |
protected abstract void |
mutate(org.apache.hadoop.hbase.client.Put put,
AtomicLong endTime,
CountDownLatch latch) |
protected abstract void |
mutateRow(org.apache.hadoop.hbase.client.RowMutations mutations) |
static void |
setupCluster() |
void |
testClientTracksServerPushback() |
void |
testMutateRowStats() |
private static final org.slf4j.Logger LOG
protected static final HBaseTestingUtility UTIL
protected static final org.apache.hadoop.hbase.TableName tableName
private static final byte[] family
private static final byte[] qualifier
private static final long flushSizeBytes
public ClientPushbackTestBase()
public static void setupCluster() throws Exception
Exception
public static void cleanupCluster() throws Exception
Exception
protected abstract org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy getBackoffPolicy() throws IOException
IOException
protected abstract org.apache.hadoop.hbase.client.ServerStatisticTracker getStatisticsTracker() throws IOException
IOException
protected abstract org.apache.hadoop.hbase.client.MetricsConnection getConnectionMetrics() throws IOException
IOException
protected abstract void mutate(org.apache.hadoop.hbase.client.Put put) throws IOException
IOException
protected abstract void mutate(org.apache.hadoop.hbase.client.Put put, AtomicLong endTime, CountDownLatch latch) throws IOException
IOException
protected abstract void mutateRow(org.apache.hadoop.hbase.client.RowMutations mutations) throws IOException
IOException
public void testClientTracksServerPushback() throws Exception
Exception
public void testMutateRowStats() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.