public class TestExportSnapshot extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected static byte[] | 
FAMILY  | 
protected TableName | 
tableName  | 
protected static HBaseTestingUtility | 
TEST_UTIL  | 
| Constructor and Description | 
|---|
TestExportSnapshot()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
bypassRegion(HRegionInfo regionInfo)  | 
protected void | 
createTable()  | 
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
protected static final byte[] FAMILY
protected TableName tableName
public static void setUpBaseConf(Configuration conf)
public void setUp()
           throws Exception
Exceptionpublic void testBalanceSplit()
                      throws Exception
Exceptionpublic void testExportFileSystemState()
                               throws Exception
Exceptionpublic void testExportFileSystemStateWithSkipTmp()
                                          throws Exception
Exceptionpublic void testEmptyExportFileSystemState()
                                    throws Exception
Exceptionpublic void testSnapshotWithRefsExportFileSystemState()
                                               throws Exception
Exceptionpublic void testExportFailure()
                       throws Exception
Exceptionpublic void testExportRetry()
                     throws Exception
Exceptionprotected boolean bypassRegion(HRegionInfo regionInfo)