public class TestWALSplit extends Object
WAL splitting code.| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
protected static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestWALSplit() |
public static final HBaseClassTestRule CLASS_RULE
protected static final HBaseTestingUtility TEST_UTIL
public org.junit.rules.TestName name
public TestWALSplit()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testLogCannotBeWrittenOnceParsed() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testRecoveredEditsPathForMeta() throws IOException
https://issues.apache.org/jira/browse/HBASE-3020IOExceptionpublic void testOldRecoveredEditsFileSidelined() throws IOException
IOExceptionpublic void testSplitPreservesEdits() throws IOException
IOExceptionpublic void testSplitRemovesRegionEventsEdits() throws IOException
IOExceptionpublic void testSplitLeavesCompactionEventsEdits() throws IOException
IOExceptionpublic void testEmptyLogFiles() throws IOException
IOExceptionpublic void testEmptyOpenLogFiles() throws IOException
IOExceptionpublic void testOpenZeroLengthReportedFileButWithDataGetsSplit() throws IOException
IOExceptionpublic void testTralingGarbageCorruptionFileSkipErrorsPasses() throws IOException
IOExceptionpublic void testFirstLineCorruptionLogFileSkipErrorsPasses() throws IOException
IOExceptionpublic void testMiddleGarbageCorruptionSkipErrorsReadsHalfOfFile() throws IOException
IOExceptionpublic void testCorruptedFileGetsArchivedIfSkipErrors() throws IOException
IOExceptionpublic void testTrailingGarbageCorruptionLogFileSkipErrorsFalseThrows() throws IOException
IOExceptionpublic void testCorruptedLogFilesSkipErrorsFalseDoesNotTouchLogs() throws IOException
IOExceptionpublic void testEOFisIgnored() throws IOException
IOExceptionpublic void testCorruptWALTrailer() throws IOException
IOExceptionpublic void testLogsGetArchivedAfterSplit() throws IOException
IOExceptionpublic void testSplit() throws IOException
IOExceptionpublic void testLogDirectoryShouldBeDeletedAfterSuccessfulSplit() throws IOException
IOExceptionpublic void testSplitWillFailIfWritingToRegionFails() throws Exception
Exceptionpublic void testSplitDeletedRegion() throws IOException
IOExceptionpublic void testIOEOnOutputThread() throws Exception
Exceptionpublic void testMovedWALDuringRecovery() throws Exception
Exceptionpublic void testRetryOpenDuringRecovery() throws Exception
Exceptionpublic void testTerminationAskedByReporter() throws IOException, org.apache.hadoop.hbase.wal.WALSplitter.CorruptedLogFileException
public void testThreading() throws Exception
Exceptionpublic void testThreadingSlowWriterSmallBuffer() throws Exception
Exceptionpublic void testSplitLogFileDeletedRegionDir() throws IOException
IOExceptionpublic void testSplitLogFileEmpty() throws IOException
IOExceptionpublic void testSplitLogFileMultipleRegions() throws IOException
IOExceptionpublic void testSplitLogFileFirstLineCorruptionLog() throws IOException
IOExceptionpublic void testConcurrentSplitLogAndReplayRecoverEdit() throws IOException
https://issues.apache.org/jira/browse/HBASE-4862IOExceptionpublic static long appendEntry(WALProvider.Writer writer, TableName table, byte[] region, byte[] row, byte[] family, byte[] qualifier, byte[] value, long seq) throws IOException
IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.