Package org.apache.hadoop.hbase.mapred
Class TestTableMapReduce
java.lang.Object
org.apache.hadoop.hbase.mapreduce.TestTableMapReduceBase
org.apache.hadoop.hbase.mapred.TestTableMapReduce
Test Map/Reduce job over HBase tables. The map/reduce process we're testing on our tables is
simple - take every row in the table, reverse the value of a particular cell, and write it back
to the table.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classPass the given key and processed record reduce -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.LoggerFields inherited from class org.apache.hadoop.hbase.mapreduce.TestTableMapReduceBase
columns, INPUT_FAMILY, MULTI_REGION_TABLE_NAME, OUTPUT_FAMILY, TABLE_FOR_NEGATIVE_TESTS, UTIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.slf4j.LoggergetLog()Retrieve my logger instance.protected voidrunTestOnTable(org.apache.hadoop.hbase.client.Table table) Handles API-specifics for setting up and executing the job.Methods inherited from class org.apache.hadoop.hbase.mapreduce.TestTableMapReduceBase
afterClass, beforeClass, map, testCombiner, testMultiRegionTable, verify
-
Field Details
-
CLASS_RULE
-
LOG
-
-
Constructor Details
-
TestTableMapReduce
public TestTableMapReduce()
-
-
Method Details
-
getLog
Description copied from class:TestTableMapReduceBaseRetrieve my logger instance.- Specified by:
getLogin classTestTableMapReduceBase
-
runTestOnTable
Description copied from class:TestTableMapReduceBaseHandles API-specifics for setting up and executing the job.- Specified by:
runTestOnTablein classTestTableMapReduceBase- Throws:
IOException
-