Package org.apache.hadoop.hbase.client
Class TestMobSnapshotCloneIndependence
java.lang.Object
org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence
org.apache.hadoop.hbase.client.TestMobSnapshotCloneIndependence
Test to verify that the cloned table is independent of the table from which it was cloned
-
Field Summary
FieldsFields inherited from class org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence
NUM_RS, snapshotName, snapshotNameAsString, TEST_FAM, testName, 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 voidSetup the config for the cluster and start itprotected static voidsetupConf(org.apache.hadoop.conf.Configuration conf) Methods inherited from class org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence
cleanupTest, setup, tearDown, testOfflineSnapshotAppendIndependent, testOfflineSnapshotDeleteIndependent, testOfflineSnapshotMetadataChangesIndependent, testOfflineSnapshotRegionOperationsIndependent, testOnlineSnapshotAppendIndependent, testOnlineSnapshotDeleteIndependent, testOnlineSnapshotMetadataChangesIndependent, testOnlineSnapshotRegionOperationsIndependent
-
Field Details
-
CLASS_RULE
-
-
Constructor Details
-
TestMobSnapshotCloneIndependence
public TestMobSnapshotCloneIndependence()
-
-
Method Details
-
setupCluster
Setup the config for the cluster and start it- Throws:
Exception- on failure
-
setupConf
-
createTable
protected org.apache.hadoop.hbase.client.Table createTable(org.apache.hadoop.hbase.TableName table, byte[] family) throws Exception - Overrides:
createTablein classTestSnapshotCloneIndependence- Throws:
Exception
-
loadData
public void loadData(org.apache.hadoop.hbase.client.Table table, byte[]... families) throws Exception - Overrides:
loadDatain classTestSnapshotCloneIndependence- Throws:
Exception
-
countRows
protected int countRows(org.apache.hadoop.hbase.client.Table table, byte[]... families) throws Exception - Overrides:
countRowsin classTestSnapshotCloneIndependence- Throws:
Exception
-