public class TestWALActionsListener extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestWALActionsListener.DummyWALActionsListener
Just counts when methods are called
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static org.apache.hadoop.fs.FileSystem |
fs |
private static org.apache.hadoop.fs.FileSystem |
logFs |
private static org.apache.hadoop.fs.Path |
rootDir |
private static byte[] |
SOME_BYTES |
private static HBaseTestingUtility |
TEST_UTIL |
private static org.apache.hadoop.fs.Path |
walRootDir |
Constructor and Description |
---|
TestWALActionsListener() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
void |
testActionListener()
Add a bunch of dummy data and roll the logs every two insert.
|
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final byte[] SOME_BYTES
private static org.apache.hadoop.conf.Configuration conf
private static org.apache.hadoop.fs.Path rootDir
private static org.apache.hadoop.fs.Path walRootDir
private static org.apache.hadoop.fs.FileSystem fs
private static org.apache.hadoop.fs.FileSystem logFs
public TestWALActionsListener()
public static void setUpBeforeClass() throws Exception
Exception
public void testActionListener() throws Exception
Exception
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.