Package org.apache.hadoop.hbase.client
Class ClientPushbackTestBase
java.lang.Object
org.apache.hadoop.hbase.client.ClientPushbackTestBase
- Direct Known Subclasses:
TestAsyncClientPushback
Test that we can actually send and use region metrics to slowdown client writes
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final byte[]
private static final long
private static final org.slf4j.Logger
private static final byte[]
protected static final org.apache.hadoop.hbase.TableName
protected static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
protected abstract org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy
protected abstract org.apache.hadoop.hbase.client.MetricsConnection
protected abstract org.apache.hadoop.hbase.client.ServerStatisticTracker
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
void
void
-
Field Details
-
LOG
-
UTIL
-
tableName
-
family
-
qualifier
-
flushSizeBytes
- See Also:
-
-
Constructor Details
-
ClientPushbackTestBase
public ClientPushbackTestBase()
-
-
Method Details
-
setupCluster
- Throws:
Exception
-
cleanupCluster
- Throws:
Exception
-
getBackoffPolicy
protected abstract org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy getBackoffPolicy() throws IOException- Throws:
IOException
-
getStatisticsTracker
protected abstract org.apache.hadoop.hbase.client.ServerStatisticTracker getStatisticsTracker() throws IOException- Throws:
IOException
-
getConnectionMetrics
protected abstract org.apache.hadoop.hbase.client.MetricsConnection getConnectionMetrics() throws IOException- Throws:
IOException
-
mutate
- Throws:
IOException
-
mutate
protected abstract void mutate(org.apache.hadoop.hbase.client.Put put, AtomicLong endTime, CountDownLatch latch) throws IOException - Throws:
IOException
-
mutateRow
protected abstract void mutateRow(org.apache.hadoop.hbase.client.RowMutations mutations) throws IOException - Throws:
IOException
-
testClientTracksServerPushback
- Throws:
Exception
-
testMutateRowStats
- Throws:
IOException
-