Class TestMigrationStoreFileTracker
java.lang.Object
org.apache.hadoop.hbase.regionserver.storefiletracker.TestMigrationStoreFileTracker
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final byte[]
static final HBaseClassTestRule
private static final byte[]
org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerFactory.Trackers
org.junit.rules.TestName
private org.apache.hadoop.hbase.regionserver.HRegion
private static final org.apache.hadoop.hbase.client.RegionInfo
private org.apache.hadoop.fs.Path
org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerFactory.Trackers
private static final org.apache.hadoop.hbase.client.TableDescriptor
private static final HBaseTestingUtility
private org.apache.hadoop.hbase.wal.WAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.regionserver.HRegion
createRegion
(Class<? extends org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerBase> trackerImplClass) 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
void
tearDown()
void
private void
verifyData
(int start, int end)
-
Field Details
-
Constructor Details
-
TestMigrationStoreFileTracker
public TestMigrationStoreFileTracker()
-
-
Method Details
-
params
-
setUpBeforeClass
-
setUp
- Throws:
IOException
-
tearDown
- Throws:
IOException
-
getStoreFiles
-
createRegion
private org.apache.hadoop.hbase.regionserver.HRegion createRegion(Class<? extends org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerBase> trackerImplClass) throws IOException - Throws:
IOException
-
reopenRegion
private void reopenRegion(Class<? extends org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerBase> trackerImplClass) throws IOException - Throws:
IOException
-
putData
- Throws:
IOException
-
verifyData
- Throws:
IOException
-
testMigration
- Throws:
IOException
-