public abstract class AbstractTestWALReplay extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractTestWALReplay.CustomStoreFlusher |
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.TestName |
currentTest |
| Constructor and Description |
|---|
AbstractTestWALReplay() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract WAL |
createWAL(org.apache.hadoop.conf.Configuration c,
org.apache.hadoop.fs.Path hbaseRootDir,
String logName) |
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 |
testNameConflictWhenSplit0() |
void |
testNameConflictWhenSplit1() |
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 final org.junit.rules.TestName currentTest
public AbstractTestWALReplay()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testReplayEditsAfterRegionMovedWithMultiCF() throws Exception
Exceptionpublic void test2727() throws Exception
Exceptionpublic 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 Exception
Exceptionpublic void testNameConflictWhenSplit0() throws IOException, CommonFSUtils.StreamLacksCapabilityException
public void testNameConflictWhenSplit1() throws IOException, CommonFSUtils.StreamLacksCapabilityException
protected abstract WAL createWAL(org.apache.hadoop.conf.Configuration c, org.apache.hadoop.fs.Path hbaseRootDir, String logName) throws IOException
IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.