public class TestSlowLogAccessor extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static HBaseTestingUtility |
HBASE_TESTING_UTILITY |
private static org.slf4j.Logger |
LOG |
private org.apache.hadoop.hbase.namequeues.NamedQueueRecorder |
namedQueueRecorder |
| Constructor and Description |
|---|
TestSlowLogAccessor() |
| Modifier and Type | Method and Description |
|---|---|
private 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 |
testHigherSlowLogs() |
void |
testSlowLogRecords() |
private org.apache.hadoop.hbase.client.Connection |
waitForSlowLogTableCreation() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility HBASE_TESTING_UTILITY
private org.apache.hadoop.hbase.namequeues.NamedQueueRecorder namedQueueRecorder
public TestSlowLogAccessor()
private List<org.apache.hadoop.hbase.shaded.protobuf.generated.TooSlowLog.SlowLogPayload> getSlowLogPayloads(org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.SlowLogResponseRequest request)
public void testSlowLogRecords() throws Exception
Exceptionprivate int getTableCount(org.apache.hadoop.hbase.client.Connection connection)
private org.apache.hadoop.hbase.client.Connection waitForSlowLogTableCreation() throws IOException
IOExceptionpublic void testHigherSlowLogs() throws Exception
ExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.