public class TestMultiTableSnapshotInputFormatImpl extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
TestMultiTableSnapshotInputFormatImpl.ScanWithEquals  | 
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
private org.apache.hadoop.conf.Configuration | 
conf  | 
private org.apache.hadoop.fs.Path | 
restoreDir  | 
private org.apache.hadoop.fs.Path | 
rootDir  | 
private Map<String,Collection<org.apache.hadoop.hbase.client.Scan>> | 
snapshotScans  | 
private org.apache.hadoop.hbase.mapreduce.MultiTableSnapshotInputFormatImpl | 
subject  | 
| Constructor and Description | 
|---|
TestMultiTableSnapshotInputFormatImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
callSetInput()  | 
void | 
setUp()  | 
void | 
testSetInputCreatesRestoreDirectoriesUnderRootRestoreDir()  | 
void | 
testSetInputPushesRestoreDirectories()  | 
void | 
testSetInputRestoresSnapshots()  | 
void | 
testSetInputSetsSnapshotToScans()  | 
Map<String,Collection<TestMultiTableSnapshotInputFormatImpl.ScanWithEquals>> | 
toScanWithEquals(Map<String,Collection<org.apache.hadoop.hbase.client.Scan>> snapshotScans)  | 
public static final HBaseClassTestRule CLASS_RULE
private org.apache.hadoop.hbase.mapreduce.MultiTableSnapshotInputFormatImpl subject
private Map<String,Collection<org.apache.hadoop.hbase.client.Scan>> snapshotScans
private org.apache.hadoop.fs.Path restoreDir
private org.apache.hadoop.conf.Configuration conf
private org.apache.hadoop.fs.Path rootDir
public TestMultiTableSnapshotInputFormatImpl()
public void callSetInput() throws IOException
IOExceptionpublic Map<String,Collection<TestMultiTableSnapshotInputFormatImpl.ScanWithEquals>> toScanWithEquals(Map<String,Collection<org.apache.hadoop.hbase.client.Scan>> snapshotScans) throws IOException
IOExceptionpublic void testSetInputSetsSnapshotToScans() throws Exception
Exceptionpublic void testSetInputPushesRestoreDirectories() throws Exception
Exceptionpublic void testSetInputCreatesRestoreDirectoriesUnderRootRestoreDir() throws Exception
Exceptionpublic void testSetInputRestoresSnapshots() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.