public class TestDistributedLogSplitting
extends java.lang.Object
| Constructor and Description |
|---|
TestDistributedLogSplitting() |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
void |
before() |
void |
makeWAL(HRegionServer hrs,
java.util.List<HRegionInfo> regions,
java.lang.String tname,
java.lang.String fname,
int num_edits,
int edit_size) |
void |
makeWAL(HRegionServer hrs,
java.util.List<HRegionInfo> regions,
java.lang.String tname,
java.lang.String fname,
int num_edits,
int edit_size,
boolean cleanShutdown) |
static void |
setup() |
static void |
tearDown() |
void |
testDelayedDeleteOnFailure() |
void |
testDisallowWritesInRecovering() |
void |
testLogReplayForDisablingTable() |
void |
testLogReplayTwoSequentialRSDown() |
void |
testLogReplayWithMetaRSDown() |
void |
testLogReplayWithNonMetaRSDown() |
void |
testMarkRegionsRecoveringInZK() |
void |
testMasterStartsUpWithLogReplayWork() |
void |
testMasterStartsUpWithLogSplittingWork() |
void |
testMetaRecoveryInZK() |
void |
testNonceRecovery() |
void |
testReadWriteSeqIdFiles() |
void |
testRecoveredEdits() |
void |
testReplayCmd() |
void |
testSameVersionUpdatesRecovery() |
void |
testSameVersionUpdatesRecoveryWithCompaction() |
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 static void setup()
throws java.lang.Exception
java.lang.Exceptionpublic static void tearDown()
throws java.io.IOException
java.io.IOExceptionpublic void before()
throws java.lang.Exception
java.lang.Exceptionpublic void after()
throws java.lang.Exception
java.lang.Exceptionpublic void testRecoveredEdits()
throws java.lang.Exception
java.lang.Exceptionpublic void testLogReplayWithNonMetaRSDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testNonceRecovery()
throws java.lang.Exception
java.lang.Exceptionpublic void testLogReplayWithMetaRSDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testMasterStartsUpWithLogSplittingWork()
throws java.lang.Exception
java.lang.Exceptionpublic void testMasterStartsUpWithLogReplayWork()
throws java.lang.Exception
java.lang.Exceptionpublic void testLogReplayTwoSequentialRSDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testMarkRegionsRecoveringInZK()
throws java.lang.Exception
java.lang.Exceptionpublic void testReplayCmd()
throws java.lang.Exception
java.lang.Exceptionpublic void testLogReplayForDisablingTable()
throws java.lang.Exception
java.lang.Exceptionpublic void testDisallowWritesInRecovering()
throws java.lang.Exception
java.lang.Exceptionpublic void testWorkerAbort()
throws java.lang.Exception
java.lang.Exceptionpublic void testThreeRSAbort()
throws java.lang.Exception
java.lang.Exceptionpublic void testDelayedDeleteOnFailure()
throws java.lang.Exception
java.lang.Exceptionpublic void testMetaRecoveryInZK()
throws java.lang.Exception
java.lang.Exceptionpublic void testSameVersionUpdatesRecovery()
throws java.lang.Exception
java.lang.Exceptionpublic void testSameVersionUpdatesRecoveryWithCompaction()
throws java.lang.Exception
java.lang.Exceptionpublic void testReadWriteSeqIdFiles()
throws java.lang.Exception
java.lang.Exceptionpublic void makeWAL(HRegionServer hrs, java.util.List<HRegionInfo> regions, java.lang.String tname, java.lang.String fname, int num_edits, int edit_size) throws java.io.IOException
java.io.IOExceptionpublic void makeWAL(HRegionServer hrs, java.util.List<HRegionInfo> regions, java.lang.String tname, java.lang.String fname, int num_edits, int edit_size, boolean cleanShutdown) throws java.io.IOException
java.io.IOException