public class TestLogRolling extends Object
| Constructor and Description |
|---|
TestLogRolling() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
void |
testCompactionRecordDoesntBlockRolling()
Tests that logs are deleted when some region has a compaction
record in WAL and no other records.
|
void |
testLogRolling()
Tests that logs are deleted
|
void |
testLogRollOnDatanodeDeath()
Tests that logs are rolled upon detecting datanode death
Requires an HDFS jar with HDFS-826 & syncFs() support (HDFS-200)
|
void |
testLogRollOnNothingWritten()
Tests that log rolling doesn't hang when no data is written.
|
void |
testLogRollOnPipelineRestart()
Test that WAL is rolled when all data nodes in the pipeline have been
restarted.
|
public void testLogRollOnNothingWritten()
throws Exception
Exceptionpublic void testLogRolling()
throws Exception
IOExceptionorg.apache.hadoop.hbase.regionserver.wal.FailedLogCloseExceptionExceptionpublic void testLogRollOnDatanodeDeath()
throws Exception
Exceptionpublic void testLogRollOnPipelineRestart()
throws Exception
Exception