Package org.apache.hadoop.hbase.client
Class TestMobRestoreSnapshotFromClientSchemaChange
java.lang.Object
org.apache.hadoop.hbase.client.RestoreSnapshotFromClientTestBase
org.apache.hadoop.hbase.client.RestoreSnapshotFromClientSchemaChangeTestBase
org.apache.hadoop.hbase.client.TestMobRestoreSnapshotFromClientSchemaChange
-
Field Summary
FieldsFields inherited from class org.apache.hadoop.hbase.client.RestoreSnapshotFromClientTestBase
admin, emptySnapshot, FAMILY, name, snapshot0Rows, snapshot1Rows, snapshotName0, snapshotName1, snapshotName2, tableName, TEST_FAMILY2, TEST_UTIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intcountRows(org.apache.hadoop.hbase.client.Table table, byte[]... families) protected voidprotected org.apache.hadoop.hbase.client.ColumnFamilyDescriptorstatic voidprotected static voidsetupConf(org.apache.hadoop.conf.Configuration conf) protected voidverifyRowCount(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, long expectedRows) Methods inherited from class org.apache.hadoop.hbase.client.RestoreSnapshotFromClientSchemaChangeTestBase
testRestoreSchemaChangeMethods inherited from class org.apache.hadoop.hbase.client.RestoreSnapshotFromClientTestBase
getNumReplicas, getValidMethodName, setup, splitRegion, tearDown, tearDownAfterClass
-
Field Details
-
CLASS_RULE
-
-
Constructor Details
-
TestMobRestoreSnapshotFromClientSchemaChange
-
-
Method Details
-
setupCluster
- Throws:
Exception
-
setupConf
-
createTable
- Overrides:
createTablein classRestoreSnapshotFromClientTestBase- Throws:
Exception
-
verifyRowCount
protected void verifyRowCount(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, long expectedRows) throws IOException - Overrides:
verifyRowCountin classRestoreSnapshotFromClientTestBase- Throws:
IOException
-
countRows
protected int countRows(org.apache.hadoop.hbase.client.Table table, byte[]... families) throws IOException - Overrides:
countRowsin classRestoreSnapshotFromClientTestBase- Throws:
IOException
-
getTestRestoreSchemaChangeHCD
- Overrides:
getTestRestoreSchemaChangeHCDin classRestoreSnapshotFromClientSchemaChangeTestBase
-