Class TestMigrationStoreFileTracker
java.lang.Object
org.apache.hadoop.hbase.regionserver.storefiletracker.TestMigrationStoreFileTracker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]static final HBaseClassTestRuleprivate static final byte[]org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerFactory.Trackersorg.junit.rules.TestNameprivate org.apache.hadoop.hbase.regionserver.HRegionprivate static final org.apache.hadoop.hbase.client.RegionInfoprivate org.apache.hadoop.fs.Pathorg.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerFactory.Trackersprivate static final org.apache.hadoop.hbase.client.TableDescriptorprivate static final HBaseTestingUtilityprivate org.apache.hadoop.hbase.wal.WAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.regionserver.HRegioncreateRegion(Class<? extends org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerBase> trackerImplClass) params()private voidputData(int start, int end) private voidreopenRegion(Class<? extends org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerBase> trackerImplClass) voidsetUp()static voidvoidtearDown()voidprivate voidverifyData(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
-