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 nn
|
afterClass, beforeClass, map, testCombiner, testMultiRegionTable, verify
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestTableMapReduce()
protected org.slf4j.Logger getLog()
TestTableMapReduceBase
getLog
in class TestTableMapReduceBase
protected void runTestOnTable(org.apache.hadoop.hbase.client.Table table) throws IOException
TestTableMapReduceBase
runTestOnTable
in class TestTableMapReduceBase
IOException
private void verifyJobCountersAreEmitted(org.apache.hadoop.mapreduce.Job job) throws IOException
IOException
public void testWritingToDisabledTable() throws IOException
IOException
public void testWritingToNonExistentTable() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.