public class TestExportSnapshotNoCluster extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.fs.FileSystem |
fs |
private static org.slf4j.Logger |
LOG |
private org.apache.hadoop.fs.Path |
testDir |
private HBaseCommonTestingUtility |
testUtil |
Constructor and Description |
---|
TestExportSnapshotNoCluster() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.fs.Path |
getDestinationDir() |
void |
setUpBaseConf(org.apache.hadoop.conf.Configuration conf) |
void |
setUpBefore() |
void |
testSnapshotV1WithRefsExportFileSystemState() |
void |
testSnapshotV2WithRefsExportFileSystemState() |
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
private final HBaseCommonTestingUtility testUtil
private org.apache.hadoop.fs.FileSystem fs
private org.apache.hadoop.fs.Path testDir
public TestExportSnapshotNoCluster()
public void setUpBaseConf(org.apache.hadoop.conf.Configuration conf)
public void setUpBefore() throws Exception
Exception
public void testSnapshotV1WithRefsExportFileSystemState() throws Exception
Exception
public void testSnapshotV2WithRefsExportFileSystemState() throws Exception
Exception
private void testSnapshotWithRefsExportFileSystemState(SnapshotTestingUtils.SnapshotMock.SnapshotBuilder builder) throws Exception
Exception
private org.apache.hadoop.fs.Path getDestinationDir()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.