Package org.apache.hadoop.hbase.client
Class TestMobCloneSnapshotFromClientAfterSplittingRegionWithLinks
java.lang.Object
org.apache.hadoop.hbase.client.CloneSnapshotFromClientTestBase
org.apache.hadoop.hbase.client.CloneSnapshotFromClientAfterSplittingRegionWithLinksTestBase
org.apache.hadoop.hbase.client.TestMobCloneSnapshotFromClientAfterSplittingRegionWithLinks
@Tag("org.apache.hadoop.hbase.testclassification.LargeTests") @Tag("org.apache.hadoop.hbase.testclassification.ClientTests")
public class TestMobCloneSnapshotFromClientAfterSplittingRegionWithLinks
extends CloneSnapshotFromClientAfterSplittingRegionWithLinksTestBase
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.client.CloneSnapshotFromClientTestBase
admin, emptySnapshot, FAMILY, numReplicas, snapshot0Rows, snapshot1Rows, snapshotName0, snapshotName1, snapshotName2, tableName, TEST_UTIL -
Constructor Summary
ConstructorsConstructorDescriptionTestMobCloneSnapshotFromClientAfterSplittingRegionWithLinks(int numReplicas) -
Method Summary
Modifier and TypeMethodDescriptionprotected intcountRows(org.apache.hadoop.hbase.client.Table table) protected voidCreate a single-region table so that we fully control its store files before splitting.static voidprotected static voidprotected voidverifyRowCount(HBaseTestingUtil util, org.apache.hadoop.hbase.TableName tableName, long expectedRows) Methods inherited from class org.apache.hadoop.hbase.client.CloneSnapshotFromClientAfterSplittingRegionWithLinksTestBase
createTableAndSnapshots, initSnapshotNames, tearDownClone, testClonedTableWithLinksSurvivesSourceDeletionMethods inherited from class org.apache.hadoop.hbase.client.CloneSnapshotFromClientTestBase
getValidMethodName, numRowsToLoad, parameters, setUp, tearDown, tearDownAfterClass
-
Constructor Details
-
TestMobCloneSnapshotFromClientAfterSplittingRegionWithLinks
-
-
Method Details
-
setupConfiguration
-
setUpBeforeClass
- Throws:
Exception
-
createTable
Description copied from class:CloneSnapshotFromClientAfterSplittingRegionWithLinksTestBaseCreate a single-region table so that we fully control its store files before splitting.- Overrides:
createTablein classCloneSnapshotFromClientAfterSplittingRegionWithLinksTestBase- Throws:
IOExceptionInterruptedException
-
countRows
- Overrides:
countRowsin classCloneSnapshotFromClientTestBase- Throws:
IOException
-
verifyRowCount
protected void verifyRowCount(HBaseTestingUtil util, org.apache.hadoop.hbase.TableName tableName, long expectedRows) throws IOException - Overrides:
verifyRowCountin classCloneSnapshotFromClientTestBase- Throws:
IOException
-