public class TestLogRollAbort extends Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.client.Admin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private static MiniHBaseCluster |
cluster |
private org.apache.hadoop.conf.Configuration |
conf |
private static org.apache.hadoop.hdfs.MiniDFSCluster |
dfsCluster |
private org.apache.hadoop.fs.FileSystem |
fs |
private static org.apache.hadoop.fs.Path |
HBASEDIR |
private static org.apache.hadoop.fs.Path |
HBASELOGDIR |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.fs.Path |
OLDLOGDIR |
protected static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestLogRollAbort() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
void |
testLogRollAfterSplitStart()
Tests the case where a RegionServer enters a GC pause,
comes back online after the master declared it dead and started to split.
|
void |
testRSAbortWithUnflushedEdits()
Tests that RegionServer aborts if we hit an error closing the WAL when
there are unsynced WAL edits.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static org.apache.hadoop.hdfs.MiniDFSCluster dfsCluster
private static org.apache.hadoop.hbase.client.Admin admin
private static MiniHBaseCluster cluster
protected static final HBaseTestingUtility TEST_UTIL
private static final org.apache.hadoop.fs.Path HBASEDIR
private static final org.apache.hadoop.fs.Path HBASELOGDIR
private static final org.apache.hadoop.fs.Path OLDLOGDIR
private org.apache.hadoop.conf.Configuration conf
private org.apache.hadoop.fs.FileSystem fs
public TestLogRollAbort()
public static void setUpBeforeClass() throws Exception
Exception
public void testRSAbortWithUnflushedEdits() throws Exception
Exception
public void testLogRollAfterSplitStart() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.