public abstract class MultiTableInputFormatTestBase extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MultiTableInputFormatTestBase.ScanMapper
Pass the key and value to reducer.
|
static class |
MultiTableInputFormatTestBase.ScanReducer
Checks the last and first keys seen against the scanner boundaries.
|
| Modifier and Type | Field and Description |
|---|---|
static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
MultiTableInputFormatTestBase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
initJob(List<Scan> scans,
org.apache.hadoop.mapreduce.Job job) |
protected void |
runJob(String jobName,
org.apache.hadoop.conf.Configuration c,
List<Scan> scans) |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testScanEmptyToAPP() |
void |
testScanEmptyToEmpty() |
void |
testScanOBBToOPP() |
void |
testScanYZYToEmpty() |
public static final HBaseTestingUtility TEST_UTIL
public MultiTableInputFormatTestBase()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testScanEmptyToEmpty() throws IOException, InterruptedException, ClassNotFoundException
public void testScanEmptyToAPP() throws IOException, InterruptedException, ClassNotFoundException
public void testScanOBBToOPP() throws IOException, InterruptedException, ClassNotFoundException
public void testScanYZYToEmpty() throws IOException, InterruptedException, ClassNotFoundException
protected void runJob(String jobName, org.apache.hadoop.conf.Configuration c, List<Scan> scans) throws IOException, InterruptedException, ClassNotFoundException
protected abstract void initJob(List<Scan> scans, org.apache.hadoop.mapreduce.Job job) throws IOException
IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.