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, tearDownAfterClass
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
public static final HBaseClassTestRule CLASS_RULE
String snapshotName1
String snapshotName2
String snapshotName3
public TestAsyncSnapshotAdminApi()
public void testTakeSnapshot() throws Exception
Exception
public void testCloneSnapshot() throws Exception
Exception
private void assertResult(org.apache.hadoop.hbase.TableName tableName, int expectedRowCount) throws IOException
IOException
public void testRestoreSnapshot() throws Exception
Exception
public void testListSnapshots() throws Exception
Exception
public void testDeleteSnapshots() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.