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