Package org.apache.hadoop.hbase.client
Class TestMobSnapshotCloneIndependence
java.lang.Object
org.apache.hadoop.hbase.client.SnapshotCloneIndependenceTestBase
org.apache.hadoop.hbase.client.TestMobSnapshotCloneIndependence
@Tag("org.apache.hadoop.hbase.testclassification.LargeTests") @Tag("org.apache.hadoop.hbase.testclassification.ClientTests")
public class TestMobSnapshotCloneIndependence
extends SnapshotCloneIndependenceTestBase
Test to verify that the cloned table is independent of the table from which it was cloned
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.client.SnapshotCloneIndependenceTestBase
NUM_RS, snapshotName, snapshotNameAsString, TEST_FAM, UTIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intcountRows(org.apache.hadoop.hbase.client.Table table, byte[]... families) protected org.apache.hadoop.hbase.client.TablecreateTable(org.apache.hadoop.hbase.TableName table, byte[] family) voidloadData(org.apache.hadoop.hbase.client.Table table, byte[]... families) static voidprotected static voidsetupConf(org.apache.hadoop.conf.Configuration conf) Methods inherited from class org.apache.hadoop.hbase.client.SnapshotCloneIndependenceTestBase
cleanupTest, setup, tearDown, testOfflineSnapshotAppendIndependent, testOfflineSnapshotDeleteIndependent, testOfflineSnapshotMetadataChangesIndependent, testOfflineSnapshotRegionOperationsIndependent, testOnlineSnapshotAppendIndependent, testOnlineSnapshotDeleteIndependent, testOnlineSnapshotMetadataChangesIndependent, testOnlineSnapshotRegionOperationsIndependent
-
Constructor Details
-
TestMobSnapshotCloneIndependence
public TestMobSnapshotCloneIndependence()
-
-
Method Details
-
setupCluster
- Throws:
Exception
-
setupConf
-
createTable
protected org.apache.hadoop.hbase.client.Table createTable(org.apache.hadoop.hbase.TableName table, byte[] family) throws Exception - Overrides:
createTablein classSnapshotCloneIndependenceTestBase- Throws:
Exception
-
loadData
public void loadData(org.apache.hadoop.hbase.client.Table table, byte[]... families) throws Exception - Overrides:
loadDatain classSnapshotCloneIndependenceTestBase- Throws:
Exception
-
countRows
protected int countRows(org.apache.hadoop.hbase.client.Table table, byte[]... families) throws Exception - Overrides:
countRowsin classSnapshotCloneIndependenceTestBase- Throws:
Exception
-