Class TestAsyncFSWAL
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.AbstractTestFSWAL
org.apache.hadoop.hbase.regionserver.wal.TestAsyncFSWAL
Provides AsyncFSWAL test cases.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.regionserver.wal.AbstractTestFSWAL
AbstractTestFSWAL.FlushSpecificStoresPolicy
-
Field Summary
Modifier and TypeFieldDescriptionprivate static Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel>
static final HBaseClassTestRule
private static org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup
Fields inherited from class org.apache.hadoop.hbase.regionserver.wal.AbstractTestFSWAL
CONF, currentTest, DIR, FS, LOG, TEST_UTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.regionserver.wal.AbstractFSWAL<?>
newSlowWAL
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootDir, String logDir, String archiveDir, org.apache.hadoop.conf.Configuration conf, List<org.apache.hadoop.hbase.regionserver.wal.WALActionsListener> listeners, boolean failIfWALExists, String prefix, String suffix, Runnable action) protected org.apache.hadoop.hbase.regionserver.wal.AbstractFSWAL<?>
newWAL
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootDir, String logDir, String archiveDir, org.apache.hadoop.conf.Configuration conf, List<org.apache.hadoop.hbase.regionserver.wal.WALActionsListener> listeners, boolean failIfWALExists, String prefix, String suffix) static void
static void
void
Methods inherited from class org.apache.hadoop.hbase.regionserver.wal.AbstractTestFSWAL
addEdits, flushRegion, setUp, testFailedToCreateWALIfParentRenamed, testFindMemStoresEligibleForFlush, testFlushSequenceIdIsGreaterThanAllEditsInHFile, testMaxFlushedSequenceIdGoBackwards, testSyncNoAppend, testUnflushedSeqIdTrackingWithAsyncWal, testWALComparator, testWALCoprocessorLoaded, testWriteEntryCanBeNull
-
Field Details
-
CLASS_RULE
-
GROUP
-
CHANNEL_CLASS
-
-
Constructor Details
-
TestAsyncFSWAL
public TestAsyncFSWAL()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
newWAL
protected org.apache.hadoop.hbase.regionserver.wal.AbstractFSWAL<?> newWAL(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootDir, String logDir, String archiveDir, org.apache.hadoop.conf.Configuration conf, List<org.apache.hadoop.hbase.regionserver.wal.WALActionsListener> listeners, boolean failIfWALExists, String prefix, String suffix) throws IOException - Specified by:
newWAL
in classAbstractTestFSWAL
- Throws:
IOException
-
newSlowWAL
protected org.apache.hadoop.hbase.regionserver.wal.AbstractFSWAL<?> newSlowWAL(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootDir, String logDir, String archiveDir, org.apache.hadoop.conf.Configuration conf, List<org.apache.hadoop.hbase.regionserver.wal.WALActionsListener> listeners, boolean failIfWALExists, String prefix, String suffix, Runnable action) throws IOException - Specified by:
newSlowWAL
in classAbstractTestFSWAL
- Throws:
IOException
-
testBrokenWriter
- Throws:
Exception
-