public class TestParsePartialWALFile extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
private static org.apache.hadoop.fs.FileSystem |
FS |
private static byte[] |
QUAL |
private static org.apache.hadoop.hbase.client.RegionInfo |
RI |
private static byte[] |
ROW |
private static org.apache.hadoop.hbase.TableName |
TN |
private static HBaseCommonTestingUtil |
UTIL |
private static byte[] |
VALUE |
Constructor and Description |
---|
TestParsePartialWALFile() |
Modifier and Type | Method and Description |
---|---|
private void |
assertEntryEquals(org.apache.hadoop.hbase.wal.WAL.Entry entry,
int index) |
private org.apache.hadoop.fs.Path |
generateBrokenWALFile(byte[] content,
int length) |
static void |
setUp() |
static void |
tearDown() |
void |
testPartialParse() |
private void |
testReadEntry(org.apache.hadoop.fs.Path file,
int entryCount) |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseCommonTestingUtil UTIL
private static org.apache.hadoop.fs.FileSystem FS
private static org.apache.hadoop.hbase.TableName TN
private static org.apache.hadoop.hbase.client.RegionInfo RI
private static byte[] ROW
private static byte[] FAMILY
private static byte[] QUAL
private static byte[] VALUE
public TestParsePartialWALFile()
public static void setUp() throws IOException
IOException
public static void tearDown()
private org.apache.hadoop.fs.Path generateBrokenWALFile(byte[] content, int length) throws IOException
IOException
private void assertEntryEquals(org.apache.hadoop.hbase.wal.WAL.Entry entry, int index)
private void testReadEntry(org.apache.hadoop.fs.Path file, int entryCount) throws IOException
IOException
public void testPartialParse() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.