public class TestMultiTableSnapshotInputFormat extends MultiTableInputFormatTestBase
MultiTableInputFormatTestBase.ScanMapper, MultiTableInputFormatTestBase.ScanReducer
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
protected org.apache.hadoop.fs.Path |
restoreDir |
INPUT_FAMILY, KEY_LASTROW, KEY_STARTROW, LOG, TABLE_NAME, TABLES, TEST_UTIL
Constructor and Description |
---|
TestMultiTableSnapshotInputFormat() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Collection<org.apache.hadoop.hbase.client.Scan>> |
getSnapshotScanMapping(List<org.apache.hadoop.hbase.client.Scan> scans) |
protected void |
initJob(List<org.apache.hadoop.hbase.client.Scan> scans,
org.apache.hadoop.mapreduce.Job job) |
void |
setUp() |
static void |
setUpSnapshots() |
static String |
snapshotNameForTable(String tableName) |
runJob, setUpBeforeClass, tearDown, tearDownAfterClass, testScanEmptyToAPP, testScanEmptyToEmpty, testScanOBBToOPP, testScanYZYToEmpty
public static final HBaseClassTestRule CLASS_RULE
protected org.apache.hadoop.fs.Path restoreDir
public TestMultiTableSnapshotInputFormat()
public static void setUpSnapshots() throws Exception
Exception
protected void initJob(List<org.apache.hadoop.hbase.client.Scan> scans, org.apache.hadoop.mapreduce.Job job) throws IOException
initJob
in class MultiTableInputFormatTestBase
IOException
protected Map<String,Collection<org.apache.hadoop.hbase.client.Scan>> getSnapshotScanMapping(List<org.apache.hadoop.hbase.client.Scan> scans)
public static String snapshotNameForTable(String tableName)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.