Package org.apache.hadoop.hbase.snapshot
Class TestMobRestoreSnapshotHelper
java.lang.Object
org.apache.hadoop.hbase.snapshot.TestRestoreSnapshotHelper
org.apache.hadoop.hbase.snapshot.TestMobRestoreSnapshotHelper
Test the restore/clone operation from a file-system point of view.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) final org.slf4j.Logger
Fields inherited from class org.apache.hadoop.hbase.snapshot.TestRestoreSnapshotHelper
archiveDir, conf, fs, rootDir, TEST_HFILE, TEST_UTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MobSnapshotTestingUtils.SnapshotMock
protected void
createTableAndSnapshot
(org.apache.hadoop.hbase.TableName tableName, String snapshotName) protected void
setupConf
(org.apache.hadoop.conf.Configuration conf) Methods inherited from class org.apache.hadoop.hbase.snapshot.TestRestoreSnapshotHelper
setup, setupCluster, tearDown, tearDownCluster, testNoHFileLinkInRootDir, testRestore, testRestoreWithNamespace, testSkipReplayAndUpdateSeqId
-
Field Details
-
CLASS_RULE
-
LOG
-
-
Constructor Details
-
TestMobRestoreSnapshotHelper
public TestMobRestoreSnapshotHelper()
-
-
Method Details
-
setupConf
- Overrides:
setupConf
in classTestRestoreSnapshotHelper
-
createSnapshotMock
- Overrides:
createSnapshotMock
in classTestRestoreSnapshotHelper
- Throws:
IOException
-
createTableAndSnapshot
protected void createTableAndSnapshot(org.apache.hadoop.hbase.TableName tableName, String snapshotName) throws IOException - Overrides:
createTableAndSnapshot
in classTestRestoreSnapshotHelper
- Throws:
IOException
-