public abstract class AbstractTestDLS extends Object
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.TestName |
name |
org.junit.rules.TestName |
testName |
| Constructor and Description |
|---|
AbstractTestDLS() |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
void |
before() |
protected abstract String |
getWalProvider() |
void |
makeWAL(HRegionServer hrs,
List<RegionInfo> regions,
int num_edits,
int edit_size) |
void |
makeWAL(HRegionServer hrs,
List<RegionInfo> regions,
int numEdits,
int editSize,
boolean cleanShutdown) |
static void |
setup() |
static void |
tearDown() |
void |
testDelayedDeleteOnFailure() |
void |
testMasterStartsUpWithLogSplittingWork() |
void |
testRecoveredEdits() |
void |
testThreeRSAbort() |
void |
testWorkerAbort()
The original intention of this test was to force an abort of a region server and to make sure
that the failure path in the region servers is properly evaluated.
|
public org.junit.rules.TestName testName
public org.junit.rules.TestName name
public AbstractTestDLS()
protected abstract String getWalProvider()
public void testRecoveredEdits() throws Exception
Exceptionpublic void testMasterStartsUpWithLogSplittingWork() throws Exception
Exceptionpublic void testWorkerAbort() throws Exception
Exceptionpublic void testThreeRSAbort() throws Exception
Exceptionpublic void testDelayedDeleteOnFailure() throws Exception
Exceptionpublic void makeWAL(HRegionServer hrs, List<RegionInfo> regions, int num_edits, int edit_size) throws IOException
IOExceptionpublic void makeWAL(HRegionServer hrs, List<RegionInfo> regions, int numEdits, int editSize, boolean cleanShutdown) throws IOException
IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.