public class TestLogRolling extends AbstractTestLogRolling
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
admin, cluster, dfsCluster, fs, name, server, tableName, TEST_UTIL, value| Constructor and Description |
|---|
TestLogRolling() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpBeforeClass() |
void |
testLogRollOnDatanodeDeath()
Tests that logs are rolled upon detecting datanode death Requires an HDFS jar with HDFS-826 &
syncFs() support (HDFS-200)
|
void |
testLogRollOnPipelineRestart()
Test that WAL is rolled when all data nodes in the pipeline have been restarted.
|
createTestTable, doPut, getName, setUp, startAndWriteData, tearDown, testCompactionRecordDoesntBlockRolling, testLogRolling, testLogRollOnNothingWrittenpublic static final HBaseClassTestRule CLASS_RULE
public TestLogRolling()
public static void setUpBeforeClass() throws Exception
Exceptionpublic void testLogRollOnDatanodeDeath() throws Exception
Exceptionpublic void testLogRollOnPipelineRestart() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.