public class TestFSHLog extends AbstractTestFSWAL
AbstractTestFSWAL.FlushSpecificStoresPolicy| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
private static long |
TEST_TIMEOUT_MS |
CONF, currentTest, DIR, FS, LOG, TEST_UTIL| Constructor and Description |
|---|
TestFSHLog() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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 |
testDeadlockWithSyncOverwrites()
Test for WAL stall due to sync future overwrites.
|
void |
testSyncRunnerIndexOverflow() |
void |
testUnflushedSeqIdTracking()
Test case for https://issues.apache.org/jira/browse/HBASE-16721
|
addEdits, flushRegion, setUp, setUpBeforeClass, tearDownAfterClass, testFailedToCreateWALIfParentRenamed, testFindMemStoresEligibleForFlush, testFlushSequenceIdIsGreaterThanAllEditsInHFile, testMaxFlushedSequenceIdGoBackwards, testSyncNoAppend, testUnflushedSeqIdTrackingWithAsyncWal, testWALComparator, testWALCoprocessorLoaded, testWriteEntryCanBeNullpublic static final HBaseClassTestRule CLASS_RULE
private static final long TEST_TIMEOUT_MS
public org.junit.rules.TestName name
public TestFSHLog()
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
newWAL in class AbstractTestFSWALIOExceptionprotected 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
newSlowWAL in class AbstractTestFSWALIOExceptionpublic void testSyncRunnerIndexOverflow() throws IOException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException
public void testDeadlockWithSyncOverwrites() throws Exception
Exceptionpublic void testUnflushedSeqIdTracking() throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.