Class TestSlowLogAccessor
java.lang.Object
org.apache.hadoop.hbase.namequeues.TestSlowLogAccessor
Tests for SlowLog System Table
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final HBaseTestingUtil
private static final org.slf4j.Logger
private org.apache.hadoop.hbase.namequeues.NamedQueueRecorder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate List<org.apache.hadoop.hbase.shaded.protobuf.generated.TooSlowLog.SlowLogPayload>
getSlowLogPayloads
(org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.SlowLogResponseRequest request) private int
getTableCount
(org.apache.hadoop.hbase.client.Connection connection) static void
setup()
void
setUp()
static void
teardown()
void
void
private org.apache.hadoop.hbase.client.Connection
-
Field Details
-
CLASS_RULE
-
LOG
-
HBASE_TESTING_UTILITY
-
namedQueueRecorder
-
-
Constructor Details
-
TestSlowLogAccessor
public TestSlowLogAccessor()
-
-
Method Details
-
setup
- Throws:
Exception
-
teardown
- Throws:
Exception
-
setUp
- Throws:
Exception
-
getSlowLogPayloads
private List<org.apache.hadoop.hbase.shaded.protobuf.generated.TooSlowLog.SlowLogPayload> getSlowLogPayloads(org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.SlowLogResponseRequest request) -
testSlowLogRecords
- Throws:
Exception
-
getTableCount
-
waitForSlowLogTableCreation
- Throws:
IOException
-
testHigherSlowLogs
- Throws:
Exception
-