Class TestMigrationStoreFileTracker
java.lang.Object
org.apache.hadoop.hbase.regionserver.storefiletracker.TestMigrationStoreFileTracker
@Tag("org.apache.hadoop.hbase.testclassification.RegionServerTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestMigrationStoreFileTracker
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]private static final byte[]private final org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerFactory.Trackersprivate Stringprivate org.apache.hadoop.hbase.regionserver.HRegionprivate static final org.apache.hadoop.hbase.client.RegionInfoprivate org.apache.hadoop.fs.Pathprivate final org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerFactory.Trackersprivate static final org.apache.hadoop.hbase.client.TableDescriptorprivate static final HBaseTestingUtilprivate org.apache.hadoop.hbase.wal.WAL -
Constructor Summary
ConstructorsConstructorDescriptionTestMigrationStoreFileTracker(org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerFactory.Trackers srcImpl, org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerFactory.Trackers dstImpl) -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.regionserver.HRegioncreateRegion(Class<? extends org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerBase> trackerImplClass) static Stream<org.junit.jupiter.params.provider.Arguments>private voidputData(int start, int end) private voidreopenRegion(Class<? extends org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerBase> trackerImplClass) voidsetUp(org.junit.jupiter.api.TestInfo testInfo) static voidvoidtearDown()voidprivate voidverifyData(int start, int end)
-
Field Details
-
Constructor Details
-
TestMigrationStoreFileTracker
public TestMigrationStoreFileTracker(org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerFactory.Trackers srcImpl, org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTrackerFactory.Trackers dstImpl)
-
-
Method Details
-
parameters
-
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
-