public class TestRestoreSnapshotHelper extends Object
Constructor and Description |
---|
TestRestoreSnapshotHelper() |
Modifier and Type | Method and Description |
---|---|
void |
setup() |
void |
tearDown() |
void |
testRestore() |
void |
testRestore(Path snapshotDir,
HBaseProtos.SnapshotDescription sd,
HTableDescriptor htdClone)
Execute the restore operation
|
void |
testRestoreWithNamespace() |
public void testRestore() throws IOException
IOException
public void testRestoreWithNamespace() throws IOException
IOException
public void testRestore(Path snapshotDir, HBaseProtos.SnapshotDescription sd, HTableDescriptor htdClone) throws IOException
snapshotDir
- The snapshot directory to use as "restore source"sd
- The snapshot descriptorhtdClone
- The HTableDescriptor of the table to restore/clone.IOException