public class TestWALOpenError extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestWALOpenError.MyFSLog |
static class |
TestWALOpenError.MyFSWalProvider |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hdfs.MiniDFSCluster |
cluster |
protected static org.apache.hadoop.conf.Configuration |
conf |
private org.apache.hadoop.hbase.ServerName |
currentServername |
org.junit.rules.TestName |
currentTest |
protected org.apache.hadoop.fs.Path |
dir |
protected org.apache.hadoop.fs.FileSystem |
fs |
protected static org.apache.hadoop.fs.Path |
hbaseDir |
protected static org.apache.hadoop.fs.Path |
hbaseWALDir |
private static org.slf4j.Logger |
LOG |
private static TestWALOpenError.MyFSLog |
myFSLogCreated |
protected static HBaseTestingUtility |
TEST_UTIL |
private static boolean |
throwExceptionWhenCloseFSLogClose |
protected org.apache.hadoop.hbase.wal.WALFactory |
wals |
| Constructor and Description |
|---|
TestWALOpenError() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testThrowFailedCloseWalException() |
void |
testWALClosedIfOpenError() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
protected static org.apache.hadoop.conf.Configuration conf
private static org.apache.hadoop.hdfs.MiniDFSCluster cluster
protected static final HBaseTestingUtility TEST_UTIL
protected static org.apache.hadoop.fs.Path hbaseDir
protected static org.apache.hadoop.fs.Path hbaseWALDir
protected org.apache.hadoop.fs.FileSystem fs
protected org.apache.hadoop.fs.Path dir
protected org.apache.hadoop.hbase.wal.WALFactory wals
private org.apache.hadoop.hbase.ServerName currentServername
public final org.junit.rules.TestName currentTest
private static TestWALOpenError.MyFSLog myFSLogCreated
private static boolean throwExceptionWhenCloseFSLogClose
public TestWALOpenError()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testWALClosedIfOpenError() throws IOException
IOExceptionpublic void testThrowFailedCloseWalException() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.