public class TestTableMapReduce extends TestTableMapReduceBase
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
TestTableMapReduce.ProcessContentsMapper
Pass the given key and processed record reduce
|
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
columns, INPUT_FAMILY, MULTI_REGION_TABLE_NAME, OUTPUT_FAMILY, TABLE_FOR_NEGATIVE_TESTS, UTIL| Constructor and Description |
|---|
TestTableMapReduce() |
| Modifier and Type | Method and Description |
|---|---|
protected org.slf4j.Logger |
getLog()
Retrieve my logger instance.
|
protected void |
runTestOnTable(org.apache.hadoop.hbase.client.Table table)
Handles API-specifics for setting up and executing the job.
|
void |
testWritingToDisabledTable() |
void |
testWritingToNonExistentTable() |
private void |
verifyJobCountersAreEmitted(org.apache.hadoop.mapreduce.Job job)
Verify scan counters are emitted from the job
|
afterClass, beforeClass, map, testCombiner, testMultiRegionTable, verifypublic static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestTableMapReduce()
protected org.slf4j.Logger getLog()
TestTableMapReduceBasegetLog in class TestTableMapReduceBaseprotected void runTestOnTable(org.apache.hadoop.hbase.client.Table table) throws IOException
TestTableMapReduceBaserunTestOnTable in class TestTableMapReduceBaseIOExceptionprivate void verifyJobCountersAreEmitted(org.apache.hadoop.mapreduce.Job job) throws IOException
job - IOExceptionpublic void testWritingToDisabledTable() throws IOException
IOExceptionpublic void testWritingToNonExistentTable() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.