public class TestWALMethods extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
TEST_REGION |
private static org.apache.hadoop.hbase.TableName |
TEST_TABLE |
private HBaseTestingUtility |
util |
| Constructor and Description |
|---|
TestWALMethods() |
| Modifier and Type | Method and Description |
|---|---|
private 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 |
testEntrySink() |
void |
testGetSplitEditFilesSorted()
Assert that getSplitEditFilesSorted returns files in expected order and
that it skips moved-aside files.
|
void |
testRegionEntryBuffer() |
void |
testServerNameFromTestWAL() |
void |
testServerNameFromWAL() |
public static final HBaseClassTestRule CLASS_RULE
private static final byte[] TEST_REGION
private static final org.apache.hadoop.hbase.TableName TEST_TABLE
private final HBaseTestingUtility util
public TestWALMethods()
public void testServerNameFromWAL() throws Exception
Exceptionpublic void testServerNameFromTestWAL() throws Exception
Exceptionpublic void testGetSplitEditFilesSorted() throws IOException
IOExceptionprivate void createFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path testdir, String name) throws IOException
IOExceptionpublic void testRegionEntryBuffer() throws Exception
Exceptionpublic void testEntrySink() throws Exception
Exceptionprivate org.apache.hadoop.hbase.wal.WAL.Entry createTestLogEntry(int i)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.