Class TestMultiTableSnapshotInputFormat
java.lang.Object
org.apache.hadoop.hbase.mapreduce.MultiTableInputFormatTestBase
org.apache.hadoop.hbase.mapreduce.TestMultiTableSnapshotInputFormat
- Direct Known Subclasses:
TestMultiTableSnapshotInputFormat
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.mapreduce.MultiTableInputFormatTestBase
MultiTableInputFormatTestBase.ScanMapper, MultiTableInputFormatTestBase.ScanReducer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
protected org.apache.hadoop.fs.Path
Fields inherited from class org.apache.hadoop.hbase.mapreduce.MultiTableInputFormatTestBase
INPUT_FAMILY, KEY_LASTROW, KEY_STARTROW, LOG, TABLE_NAME, TABLES, TEST_UTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Map<String,
Collection<org.apache.hadoop.hbase.client.Scan>> getSnapshotScanMapping
(List<org.apache.hadoop.hbase.client.Scan> scans) protected void
void
setUp()
static void
static String
snapshotNameForTable
(String tableName) Methods inherited from class org.apache.hadoop.hbase.mapreduce.MultiTableInputFormatTestBase
runJob, setUpBeforeClass, tearDown, tearDownAfterClass, testScanEmptyToAPP, testScanEmptyToEmpty, testScanOBBToOPP, testScanYZYToEmpty
-
Field Details
-
CLASS_RULE
-
restoreDir
-
-
Constructor Details
-
TestMultiTableSnapshotInputFormat
public TestMultiTableSnapshotInputFormat()
-
-
Method Details
-
setUpSnapshots
- Throws:
Exception
-
setUp
- Throws:
Exception
-
initJob
protected void initJob(List<org.apache.hadoop.hbase.client.Scan> scans, org.apache.hadoop.mapreduce.Job job) throws IOException - Specified by:
initJob
in classMultiTableInputFormatTestBase
- Throws:
IOException
-
getSnapshotScanMapping
protected Map<String,Collection<org.apache.hadoop.hbase.client.Scan>> getSnapshotScanMapping(List<org.apache.hadoop.hbase.client.Scan> scans) -
snapshotNameForTable
-