public class TestExportSnapshotNoCluster extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.fs.FileSystem |
fs |
private static org.slf4j.Logger |
LOG |
protected static HBaseCommonTestingUtility |
TEST_UTIL |
private static org.apache.hadoop.fs.Path |
testDir |
| Constructor and Description |
|---|
TestExportSnapshotNoCluster() |
| Modifier and Type | Method and Description |
|---|---|
private org.apache.hadoop.fs.Path |
getDestinationDir() |
static void |
setUpBaseConf(org.apache.hadoop.conf.Configuration conf) |
static void |
setUpBeforeClass() |
void |
testSnapshotWithRefsExportFileSystemState()
Mock a snapshot with files in the archive dir,
two regions, and one reference file.
|
private void |
testSnapshotWithRefsExportFileSystemState(SnapshotTestingUtils.SnapshotMock.SnapshotBuilder builder)
Generates a couple of regions for the specified SnapshotMock,
and then it will run the export and verification.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
protected static final HBaseCommonTestingUtility TEST_UTIL
private static org.apache.hadoop.fs.FileSystem fs
private static org.apache.hadoop.fs.Path testDir
public TestExportSnapshotNoCluster()
public static void setUpBaseConf(org.apache.hadoop.conf.Configuration conf)
public static void setUpBeforeClass() throws Exception
Exceptionpublic void testSnapshotWithRefsExportFileSystemState() throws Exception
Exceptionprivate void testSnapshotWithRefsExportFileSystemState(SnapshotTestingUtils.SnapshotMock.SnapshotBuilder builder) throws Exception
Exceptionprivate org.apache.hadoop.fs.Path getDestinationDir()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.