Class TestFSHLog
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.AbstractTestFSWAL
org.apache.hadoop.hbase.regionserver.wal.TestFSHLog
Provides FSHLog test cases.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.regionserver.wal.AbstractTestFSWAL
AbstractTestFSWAL.FlushSpecificStoresPolicy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
org.junit.rules.TestName
private static final long
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 walDir, 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 walDir, String archiveDir, org.apache.hadoop.conf.Configuration conf, List<org.apache.hadoop.hbase.regionserver.wal.WALActionsListener> listeners, boolean failIfWALExists, String prefix, String suffix) void
Test for WAL stall due to sync future overwrites.void
void
Test case for https://issues.apache.org/jira/browse/HBASE-16721Methods inherited from class org.apache.hadoop.hbase.regionserver.wal.AbstractTestFSWAL
addEdits, flushRegion, setUp, setUpBeforeClass, tearDownAfterClass, testFailedToCreateWALIfParentRenamed, testFindMemStoresEligibleForFlush, testFlushSequenceIdIsGreaterThanAllEditsInHFile, testMaxFlushedSequenceIdGoBackwards, testSyncNoAppend, testUnflushedSeqIdTrackingWithAsyncWal, testWALComparator, testWALCoprocessorLoaded, testWriteEntryCanBeNull
-
Field Details
-
CLASS_RULE
-
TEST_TIMEOUT_MS
- See Also:
-
name
-
-
Constructor Details
-
TestFSHLog
public TestFSHLog()
-
-
Method Details
-
newWAL
protected org.apache.hadoop.hbase.regionserver.wal.AbstractFSWAL<?> newWAL(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootDir, String walDir, 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 walDir, 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
-
testSyncRunnerIndexOverflow
-
testDeadlockWithSyncOverwrites
Test for WAL stall due to sync future overwrites. See HBASE-25984.- Throws:
Exception
-
testUnflushedSeqIdTracking
Test case for https://issues.apache.org/jira/browse/HBASE-16721- Throws:
IOException
InterruptedException
-