public class TestWALFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static Configuration |
conf |
TestName |
currentTest |
protected Path |
dir |
protected FileSystem |
fs |
protected static Path |
hbaseDir |
protected static Path |
hbaseWALDir |
protected static Log |
LOG |
protected static HBaseTestingUtility |
TEST_UTIL |
protected WALFactory |
wals |
| Constructor and Description |
|---|
TestWALFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
Broken_testSync()
Test new HDFS-265 sync.
|
void |
canCloseSingleton() |
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testAppend() |
void |
testAppendClose() |
void |
testEditAdd()
Tests that we can write out an edit, close, and then read it back in again.
|
void |
testReadLegacyLog() |
void |
testSplit()
Just write multiple logs then split.
|
void |
testVisitors()
Test that we can visit entries before they are appended
|
void |
testWALCoprocessorLoaded()
A loaded WAL coprocessor won't break existing WAL test cases.
|
protected static final Log LOG
protected static Configuration conf
protected static final HBaseTestingUtility TEST_UTIL
protected static Path hbaseDir
protected static Path hbaseWALDir
protected FileSystem fs
protected Path dir
protected WALFactory wals
public final TestName currentTest
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic static void setUpBeforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic static void tearDownAfterClass()
throws java.lang.Exception
java.lang.Exceptionpublic void canCloseSingleton()
throws java.io.IOException
java.io.IOExceptionpublic void testSplit()
throws java.io.IOException
java.io.IOExceptionpublic void Broken_testSync()
throws java.lang.Exception
java.lang.Exceptionpublic void testAppendClose()
throws java.lang.Exception
java.lang.Exceptionpublic void testEditAdd()
throws java.io.IOException
java.io.IOExceptionpublic void testAppend()
throws java.io.IOException
java.io.IOExceptionpublic void testVisitors()
throws java.lang.Exception
java.lang.Exceptionpublic void testWALCoprocessorLoaded()
throws java.lang.Exception
java.lang.Exceptionpublic void testReadLegacyLog()
throws java.io.IOException
java.io.IOException