public class TestMigrationStoreFileTracker extends Object
Modifier and Type | Field and Description |
---|---|
private static byte[] |
CF |
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
CQ |
org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerFactory.Trackers |
dstImpl |
org.junit.rules.TestName |
name |
private org.apache.hadoop.hbase.regionserver.HRegion |
region |
private static org.apache.hadoop.hbase.client.RegionInfo |
RI |
private org.apache.hadoop.fs.Path |
rootDir |
org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerFactory.Trackers |
srcImpl |
private static org.apache.hadoop.hbase.client.TableDescriptor |
TD |
private static HBaseTestingUtility |
UTIL |
private org.apache.hadoop.hbase.wal.WAL |
wal |
Constructor and Description |
---|
TestMigrationStoreFileTracker() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.regionserver.HRegion |
createRegion(Class<? extends org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerBase> trackerImplClass) |
private List<String> |
getStoreFiles() |
static List<Object[]> |
params() |
private void |
putData(int start,
int end) |
private void |
reopenRegion(Class<? extends org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerBase> trackerImplClass) |
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
void |
testMigration() |
private void |
verifyData(int start,
int end) |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility UTIL
private static final byte[] CF
private static final byte[] CQ
private static final org.apache.hadoop.hbase.client.TableDescriptor TD
private static final org.apache.hadoop.hbase.client.RegionInfo RI
public org.junit.rules.TestName name
public org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerFactory.Trackers srcImpl
public org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerFactory.Trackers dstImpl
private org.apache.hadoop.hbase.regionserver.HRegion region
private org.apache.hadoop.fs.Path rootDir
private org.apache.hadoop.hbase.wal.WAL wal
public TestMigrationStoreFileTracker()
public static void setUpBeforeClass()
public void setUp() throws IOException
IOException
public void tearDown() throws IOException
IOException
private List<String> getStoreFiles()
private org.apache.hadoop.hbase.regionserver.HRegion createRegion(Class<? extends org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerBase> trackerImplClass) throws IOException
IOException
private void reopenRegion(Class<? extends org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerBase> trackerImplClass) throws IOException
IOException
private void putData(int start, int end) throws IOException
IOException
private void verifyData(int start, int end) throws IOException
IOException
public void testMigration() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.