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
IOExceptionInterruptedExceptionpublic void testRecoveredEditsPathForMeta()
                                   throws IOException
IOExceptionhttps://issues.apache.org/jira/browse/HBASE-3020public void testOldRecoveredEditsFileSidelined()
                                        throws IOException
IOExceptionpublic void testSplitPreservesEdits()
                             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 testMovedWALDuringRecovery()
                                throws Exception
Exceptionpublic void testRetryOpenDuringRecovery()
                                 throws Exception
Exceptionpublic void testTerminationAskedByReporter()
                                    throws IOException,
                                           CorruptedLogFileException
IOExceptionCorruptedLogFileExceptionpublic 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
IOExceptionhttps://issues.apache.org/jira/browse/HBASE-4862public static long appendEntry(Writer writer,
                               TableName table,
                               byte[] region,
                               byte[] row,
                               byte[] family,
                               byte[] qualifier,
                               byte[] value,
                               long seq)
                        throws IOException
IOException