public class TestWALFactory extends 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 canCloseSingleton()
                       throws IOException
IOExceptionpublic void testSplit()
               throws IOException
IOExceptionpublic void Broken_testSync()
                     throws Exception
Exceptionpublic void testEditAdd()
                 throws IOException
IOExceptionpublic void testAppend()
                throws IOException
IOExceptionpublic void testVisitors()
                  throws Exception
Exceptionpublic void testWALCoprocessorLoaded()
                              throws Exception
Exceptionpublic void testReadLegacyLog()
                       throws IOException
IOException