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
FieldsModifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Adminstatic final HBaseClassTestRuleprivate static MiniHBaseClusterprivate org.apache.hadoop.conf.Configurationprivate static org.apache.hadoop.hdfs.MiniDFSClusterprivate org.apache.hadoop.fs.FileSystemprivate static final org.apache.hadoop.fs.Pathprivate static final org.apache.hadoop.fs.Pathprivate static final org.slf4j.Loggerprivate static final org.apache.hadoop.fs.Pathprotected static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()static voidvoidtearDown()voidTests the case where a RegionServer enters a GC pause, comes back online after the master declared it dead and started to split.voidTests 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
-