public abstract class TestTableMapReduceBase extends Object
Modifier and Type | Field and Description |
---|---|
protected static byte[][] |
columns |
protected static byte[] |
INPUT_FAMILY |
protected static TableName |
MULTI_REGION_TABLE_NAME |
protected static byte[] |
OUTPUT_FAMILY |
protected static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestTableMapReduceBase() |
Modifier and Type | Method and Description |
---|---|
static void |
afterClass() |
static void |
beforeClass() |
protected abstract Log |
getLog()
Retrieve my logger instance.
|
protected static Put |
map(ImmutableBytesWritable key,
Result value)
Implements mapper logic for use across APIs.
|
protected abstract void |
runTestOnTable(HTable table)
Handles API-specifics for setting up and executing the job.
|
void |
testCombiner() |
void |
testMultiRegionTable()
Test a map/reduce against a multi-region table
|
protected void |
verify(TableName tableName) |
protected static final HBaseTestingUtility UTIL
protected static final TableName MULTI_REGION_TABLE_NAME
protected static final byte[] INPUT_FAMILY
protected static final byte[] OUTPUT_FAMILY
protected static final byte[][] columns
protected abstract Log getLog()
protected abstract void runTestOnTable(HTable table) throws IOException
IOException
public void testMultiRegionTable() throws IOException
IOException
public void testCombiner() throws IOException
IOException
protected static Put map(ImmutableBytesWritable key, Result value) throws IOException
IOException
protected void verify(TableName tableName) throws IOException
IOException