Class TestWALActionsListener
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.TestWALActionsListener
Test that the actions are called while playing with an WAL
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Just counts when methods are called -
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
private static org.apache.hadoop.fs.FileSystem
private static org.apache.hadoop.fs.FileSystem
private static org.apache.hadoop.fs.Path
private static final byte[]
private static final HBaseTestingUtility
private static org.apache.hadoop.fs.Path
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
SOME_BYTES
-
conf
-
rootDir
-
walRootDir
-
fs
-
logFs
-
-
Constructor Details
-
TestWALActionsListener
public TestWALActionsListener()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testActionListener
Add a bunch of dummy data and roll the logs every two insert. We should end up with 10 rolled files (plus the roll called in the constructor). Also test adding a listener while it's running.- Throws:
Exception
-