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
IOException
public Map<String,Collection<TestMultiTableSnapshotInputFormatImpl.ScanWithEquals>> toScanWithEquals(Map<String,Collection<org.apache.hadoop.hbase.client.Scan>> snapshotScans) throws IOException
IOException
public void testSetInputSetsSnapshotToScans() throws Exception
Exception
public void testSetInputPushesRestoreDirectories() throws Exception
Exception
public void testSetInputCreatesRestoreDirectoriesUnderRootRestoreDir() throws Exception
Exception
public void testSetInputRestoresSnapshots() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.