Package org.apache.hadoop.hbase.wal
Class TestWALMethods
java.lang.Object
org.apache.hadoop.hbase.wal.TestWALMethods
Simple testing of a few WAL methods.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private static final org.apache.hadoop.hbase.TableName
private final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
createFile
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path testdir, String name) private org.apache.hadoop.hbase.wal.WAL.Entry
createTestLogEntry
(int i) void
void
Assert that getSplitEditFilesSorted returns files in expected order and that it skips moved-aside files.void
void
void
void
-
Field Details
-
CLASS_RULE
-
TEST_REGION
-
TEST_TABLE
-
util
-
-
Constructor Details
-
TestWALMethods
public TestWALMethods()
-
-
Method Details
-
testServerNameFromWAL
- Throws:
Exception
-
testServerNameFromTestWAL
- Throws:
Exception
-
testGetSplitEditFilesSorted
Assert that getSplitEditFilesSorted returns files in expected order and that it skips moved-aside files.- Throws:
IOException
-
createFile
private void createFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path testdir, String name) throws IOException - Throws:
IOException
-
testRegionEntryBuffer
- Throws:
Exception
-
testEntrySink
- Throws:
Exception
-
createTestLogEntry
-
testParseServerNameFromWALName
-