public class TestRecoveredEdits extends Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.io.hfile.BlockCache |
blockCache |
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
static org.apache.hadoop.hbase.client.ColumnFamilyDescriptor |
RECOVEREDEDITS_CFD |
static byte[] |
RECOVEREDEDITS_COLUMNFAMILY
Column family referenced by edits in the recovered.edits file.
|
static org.apache.hadoop.fs.Path |
RECOVEREDEDITS_PATH
Path to a recovered.edits file in hbase-server test resources folder.
|
static String |
RECOVEREDEDITS_TABLENAME
Name of table referenced by edits in the recovered.edits file.
|
static byte[][] |
RECOVEREDITS_COLUMNFAMILY_ARRAY |
private static HBaseTestingUtility |
TEST_UTIL |
org.junit.rules.TestName |
testName |
Constructor and Description |
---|
TestRecoveredEdits() |
Modifier and Type | Method and Description |
---|---|
static void |
setUpBeforeClass()
Name of table mentioned edits from recovered.edits
|
void |
testReplayWorksThoughLotsOfFlushing()
HBASE-12782 ITBLL fails for me if generator does anything but 5M per maptask.
|
private void |
testReplayWorksWithMemoryCompactionPolicy(org.apache.hadoop.hbase.MemoryCompactionPolicy policy) |
static int |
verifyAllEditsMadeItIn(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path edits,
org.apache.hadoop.hbase.regionserver.HRegion region)
Returns Return how many edits seen.
|
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final org.slf4j.Logger LOG
private static org.apache.hadoop.hbase.io.hfile.BlockCache blockCache
public org.junit.rules.TestName testName
public static final org.apache.hadoop.fs.Path RECOVEREDEDITS_PATH
public static final String RECOVEREDEDITS_TABLENAME
public static final byte[] RECOVEREDEDITS_COLUMNFAMILY
public static final byte[][] RECOVEREDITS_COLUMNFAMILY_ARRAY
public static final org.apache.hadoop.hbase.client.ColumnFamilyDescriptor RECOVEREDEDITS_CFD
public TestRecoveredEdits()
public static void setUpBeforeClass() throws Exception
Exception
public void testReplayWorksThoughLotsOfFlushing() throws IOException
IOException
private void testReplayWorksWithMemoryCompactionPolicy(org.apache.hadoop.hbase.MemoryCompactionPolicy policy) throws IOException
IOException
public static int verifyAllEditsMadeItIn(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path edits, org.apache.hadoop.hbase.regionserver.HRegion region) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.