public class TestWALReplay extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
TestWALReplay.CustomStoreFlusher  | 
| Modifier and Type | Field and Description | 
|---|---|
TestName | 
currentTest  | 
static Log | 
LOG  | 
| Constructor and Description | 
|---|
TestWALReplay()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
setUp()  | 
static void | 
setUpBeforeClass()  | 
void | 
tearDown()  | 
static void | 
tearDownAfterClass()  | 
void | 
test2727()
Tests for hbase-2727. 
 | 
void | 
testCompactedBulkLoadedFiles()
HRegion test case that is made of a major compacted HFile (created with three bulk loaded
 files) and an edit in the memstore. 
 | 
void | 
testDatalossWhenInputError()
testcase for https://issues.apache.org/jira/browse/HBASE-15252 
 | 
void | 
testRegionMadeOfBulkLoadedFilesOnly()
Test case of HRegion that is only made out of bulk loaded files. 
 | 
void | 
testReplayEditsAfterAbortingFlush()
Test that we could recover the data correctly after aborting flush. 
 | 
void | 
testReplayEditsAfterPartialFlush()
Test that we recover correctly when there is a failure in between the
 flushes. 
 | 
void | 
testReplayEditsAfterRegionMovedWithMultiCF()  | 
void | 
testReplayEditsWrittenIntoWAL()
Create an HRegion with the result of a WAL split and test we only see the
 good edits 
 | 
void | 
testReplayEditsWrittenViaHRegion()
Test writing edits into an HRegion, closing it, splitting logs, opening
 Region again. 
 | 
void | 
testSequentialEditLogSeqNum()  | 
public void testReplayEditsAfterRegionMovedWithMultiCF()
                                                throws Exception
Exceptionpublic void test2727()
              throws Exception
Exceptionhttps://issues.apache.org/jira/browse/HBASE-2727public void testRegionMadeOfBulkLoadedFilesOnly()
                                         throws IOException,
                                                SecurityException,
                                                IllegalArgumentException,
                                                NoSuchFieldException,
                                                IllegalAccessException,
                                                InterruptedException
public void testCompactedBulkLoadedFiles()
                                  throws IOException,
                                         SecurityException,
                                         IllegalArgumentException,
                                         NoSuchFieldException,
                                         IllegalAccessException,
                                         InterruptedException
public void testReplayEditsWrittenViaHRegion()
                                      throws IOException,
                                             SecurityException,
                                             IllegalArgumentException,
                                             NoSuchFieldException,
                                             IllegalAccessException,
                                             InterruptedException
public void testReplayEditsAfterPartialFlush()
                                      throws IOException,
                                             SecurityException,
                                             IllegalArgumentException,
                                             NoSuchFieldException,
                                             IllegalAccessException,
                                             InterruptedException
public void testReplayEditsAfterAbortingFlush()
                                       throws IOException
IOExceptionpublic void testReplayEditsWrittenIntoWAL()
                                   throws Exception
Exceptionpublic void testSequentialEditLogSeqNum()
                                 throws IOException
IOExceptionpublic void testDatalossWhenInputError()
                                throws IOException,
                                       InstantiationException,
                                       IllegalAccessException