Class TestLogRollAbort
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.TestLogRollAbort
Tests for conditions that should trigger RegionServer aborts when rolling the current WAL fails.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
private static MiniHBaseCluster
private org.apache.hadoop.conf.Configuration
private static org.apache.hadoop.hdfs.MiniDFSCluster
private org.apache.hadoop.fs.FileSystem
private static final org.apache.hadoop.fs.Path
private static final org.apache.hadoop.fs.Path
private static final org.slf4j.Logger
private static final org.apache.hadoop.fs.Path
protected static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUp()
static void
void
tearDown()
void
Tests the case where a RegionServer enters a GC pause, comes back online after the master declared it dead and started to split.void
Tests that RegionServer aborts if we hit an error closing the WAL when there are unsynced WAL edits.
-
Field Details
-
CLASS_RULE
-
LOG
-
dfsCluster
-
admin
-
cluster
-
TEST_UTIL
-
HBASEDIR
-
HBASELOGDIR
-
OLDLOGDIR
-
conf
-
fs
-
-
Constructor Details
-
TestLogRollAbort
public TestLogRollAbort()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testRSAbortWithUnflushedEdits
Tests that RegionServer aborts if we hit an error closing the WAL when there are unsynced WAL edits. See HBASE-4282.- Throws:
Exception
-
testLogRollAfterSplitStart
Tests the case where a RegionServer enters a GC pause, comes back online after the master declared it dead and started to split. Want log rolling after a master split to fail. See HBASE-2312.- Throws:
IOException
-