Package org.apache.hadoop.hbase.client
Class TestAsyncSnapshotAdminApi
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
org.apache.hadoop.hbase.client.TestAsyncAdminBase
org.apache.hadoop.hbase.client.TestAsyncSnapshotAdminApi
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final Pattern(package private) String(package private) String(package private) String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertResult(org.apache.hadoop.hbase.TableName tableName, int expectedRowCount) voidcleanup()voidvoidvoidvoidvoidMethods inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, setUpBeforeClass, tearDown, tearDownAfterClassMethods inherited from class org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
-
Field Details
-
CLASS_RULE
-
MATCH_ALL
-
snapshotName1
-
snapshotName2
-
snapshotName3
-
-
Constructor Details
-
TestAsyncSnapshotAdminApi
public TestAsyncSnapshotAdminApi()
-
-
Method Details
-
cleanup
- Throws:
Exception
-
testTakeSnapshot
- Throws:
Exception
-
testCloneSnapshot
- Throws:
Exception
-
assertResult
private void assertResult(org.apache.hadoop.hbase.TableName tableName, int expectedRowCount) throws IOException - Throws:
IOException
-
testRestoreSnapshot
- Throws:
Exception
-
testListSnapshots
- Throws:
Exception
-
testDeleteSnapshots
- Throws:
Exception
-