public class TestAsyncSnapshotAdminApi extends TestAsyncAdminBase
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static Pattern |
MATCH_ALL |
(package private) String |
snapshotName1 |
(package private) String |
snapshotName2 |
(package private) String |
snapshotName3 |
| Constructor and Description |
|---|
TestAsyncSnapshotAdminApi() |
| Modifier and Type | Method and Description |
|---|---|
private void |
assertResult(org.apache.hadoop.hbase.TableName tableName,
int expectedRowCount) |
void |
cleanup() |
void |
testCloneSnapshot() |
void |
testDeleteSnapshots() |
void |
testListSnapshots() |
void |
testRestoreSnapshot() |
void |
testTakeSnapshot() |
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, setUpBeforeClass, tearDown, tearDownAfterClassaddResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFilespublic static final HBaseClassTestRule CLASS_RULE
String snapshotName1
String snapshotName2
String snapshotName3
public TestAsyncSnapshotAdminApi()
public void testTakeSnapshot() throws Exception
Exceptionpublic void testCloneSnapshot() throws Exception
Exceptionprivate void assertResult(org.apache.hadoop.hbase.TableName tableName, int expectedRowCount) throws IOException
IOExceptionpublic void testRestoreSnapshot() throws Exception
Exceptionpublic void testListSnapshots() throws Exception
Exceptionpublic void testDeleteSnapshots() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.