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
Fields inherited from class org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence
NUM_RS, snapshotName, snapshotNameAsString, TEST_FAM, testName, UTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
countRows
(org.apache.hadoop.hbase.client.Table table, byte[]... families) protected org.apache.hadoop.hbase.client.Table
createTable
(org.apache.hadoop.hbase.TableName table, byte[] family) void
loadData
(org.apache.hadoop.hbase.client.Table table, byte[]... families) static void
Setup the config for the cluster and start itprotected static void
setupConf
(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:
createTable
in classTestSnapshotCloneIndependence
- Throws:
Exception
-
loadData
public void loadData(org.apache.hadoop.hbase.client.Table table, byte[]... families) throws Exception - Overrides:
loadData
in classTestSnapshotCloneIndependence
- Throws:
Exception
-
countRows
protected int countRows(org.apache.hadoop.hbase.client.Table table, byte[]... families) throws Exception - Overrides:
countRows
in classTestSnapshotCloneIndependence
- Throws:
Exception
-