public class TestAsyncLogRolling extends AbstractTestLogRolling
Modifier and Type | Class and Description |
---|---|
static class |
TestAsyncLogRolling.SlowSyncLogWriter |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
admin, cluster, dfsCluster, EXECUTOR, fs, name, server, syncLatencyMillis, tableName, TEST_UTIL, value
Constructor and Description |
---|
TestAsyncLogRolling() |
Modifier and Type | Method and Description |
---|---|
protected void |
setDefaultLogWriter(org.apache.hadoop.conf.Configuration conf) |
protected void |
setSlowLogWriter(org.apache.hadoop.conf.Configuration conf) |
static void |
setUpBeforeClass() |
void |
testLogRollOnDatanodeDeath() |
void |
testSlowSyncLogRolling() |
checkSlowSync, createTestTable, doPut, getName, getWALAndRegisterSlowSyncHook, setUp, tearDown, tearDownAfterClass, testCompactionRecordDoesntBlockRolling, testLogRolling, testLogRollOnNothingWritten, validateData, writeData
public static final HBaseClassTestRule CLASS_RULE
public TestAsyncLogRolling()
public static void setUpBeforeClass() throws Exception
Exception
protected void setSlowLogWriter(org.apache.hadoop.conf.Configuration conf)
setSlowLogWriter
in class AbstractTestLogRolling
protected void setDefaultLogWriter(org.apache.hadoop.conf.Configuration conf)
setDefaultLogWriter
in class AbstractTestLogRolling
public void testSlowSyncLogRolling() throws Exception
Exception
public void testLogRollOnDatanodeDeath() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.