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
Exception
public void testServerNameFromTestWAL() throws Exception
Exception
public void testGetSplitEditFilesSorted() throws IOException
IOException
private void createFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path testdir, String name) throws IOException
IOException
public void testRegionEntryBuffer() throws Exception
Exception
public void testEntrySink() throws Exception
Exception
private org.apache.hadoop.hbase.wal.WAL.Entry createTestLogEntry(int i)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.