public abstract class TestTableMapReduceBase
extends java.lang.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 TableName |
TABLE_FOR_NEGATIVE_TESTS |
protected static HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestTableMapReduceBase() |
| Modifier and Type | Method and Description |
|---|---|
static void |
afterClass() |
static void |
beforeClass() |
protected abstract Logger |
getLog()
Retrieve my logger instance.
|
protected static Put |
map(ImmutableBytesWritable key,
Result value)
Implements mapper logic for use across APIs.
|
protected abstract void |
runTestOnTable(Table 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 TableName TABLE_FOR_NEGATIVE_TESTS
protected static final byte[] INPUT_FAMILY
protected static final byte[] OUTPUT_FAMILY
protected static final byte[][] columns
protected abstract Logger getLog()
protected abstract void runTestOnTable(Table table)
throws java.io.IOException
java.io.IOExceptionpublic static void beforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic static void afterClass()
throws java.lang.Exception
java.lang.Exceptionpublic void testMultiRegionTable()
throws java.io.IOException
java.io.IOExceptionpublic void testCombiner()
throws java.io.IOException
java.io.IOExceptionprotected static Put map(ImmutableBytesWritable key,
Result value)
throws java.io.IOException
java.io.IOExceptionprotected void verify(TableName tableName)
throws java.io.IOException
java.io.IOException