public class TestExportSnapshot extends Object
Modifier and Type | Field and Description |
---|---|
protected static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestExportSnapshot() |
Modifier and Type | Method and Description |
---|---|
void |
setUp()
Create a table and take a snapshot of the table used by the export test.
|
static void |
setUpBaseConf(Configuration conf) |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testBalanceSplit()
Verfy the result of getBalanceSplits() method.
|
void |
testConsecutiveExports() |
void |
testEmptyExportFileSystemState() |
void |
testExportFailure()
Check that ExportSnapshot will return a failure if something fails.
|
void |
testExportFileSystemState()
Verify if exported snapshot and copied files matches the original one.
|
void |
testExportFileSystemStateWithSkipTmp() |
void |
testExportRetry()
Check that ExportSnapshot will succede if something fails but the retry succede.
|
void |
testExportWithTargetName() |
void |
testSnapshotWithRefsExportFileSystemState()
Mock a snapshot with files in the archive dir,
two regions, and one reference file.
|
protected static final HBaseTestingUtility TEST_UTIL
public static void setUpBaseConf(Configuration conf)
public void setUp() throws Exception
Exception
public void testBalanceSplit() throws Exception
Exception
public void testExportFileSystemState() throws Exception
Exception
public void testExportFileSystemStateWithSkipTmp() throws Exception
Exception
public void testEmptyExportFileSystemState() throws Exception
Exception
public void testSnapshotWithRefsExportFileSystemState() throws Exception
Exception
public void testExportFailure() throws Exception
Exception