public class TestExportSnapshotV1NoCluster extends Object
TestExportSnapshotV2NoCluster
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 |
---|
TestExportSnapshotV1NoCluster() |
Modifier and Type | Method and Description |
---|---|
(package private) static org.apache.hadoop.fs.Path |
getDestinationDir(org.apache.hadoop.fs.FileSystem fs,
HBaseCommonTestingUtility hctu,
org.apache.hadoop.fs.Path testDir) |
(package private) static org.apache.hadoop.fs.Path |
setup(org.apache.hadoop.fs.FileSystem fs,
HBaseCommonTestingUtility hctu)
Setup for test.
|
void |
setUpBefore() |
void |
testSnapshotWithRefsExportFileSystemState()
V1 snapshot test
|
(package private) static void |
testSnapshotWithRefsExportFileSystemState(org.apache.hadoop.fs.FileSystem fs,
SnapshotTestingUtils.SnapshotMock.SnapshotBuilder builder,
HBaseCommonTestingUtility testUtil,
org.apache.hadoop.fs.Path testDir)
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 HBaseCommonTestingUtility testUtil
private org.apache.hadoop.fs.Path testDir
private org.apache.hadoop.fs.FileSystem fs
public TestExportSnapshotV1NoCluster()
public void setUpBefore() throws Exception
Exception
static org.apache.hadoop.fs.Path setup(org.apache.hadoop.fs.FileSystem fs, HBaseCommonTestingUtility hctu) throws IOException
IOException
public void testSnapshotWithRefsExportFileSystemState() throws Exception
Exception
static void testSnapshotWithRefsExportFileSystemState(org.apache.hadoop.fs.FileSystem fs, SnapshotTestingUtils.SnapshotMock.SnapshotBuilder builder, HBaseCommonTestingUtility testUtil, org.apache.hadoop.fs.Path testDir) throws Exception
Exception
static org.apache.hadoop.fs.Path getDestinationDir(org.apache.hadoop.fs.FileSystem fs, HBaseCommonTestingUtility hctu, org.apache.hadoop.fs.Path testDir) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.