public class TestTableMapReduceUtil
extends java.lang.Object
| Constructor and Description |
|---|
TestTableMapReduceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
afterClass() |
void |
before() |
static void |
beforeClass() |
static Table |
createAndFillTable(TableName tableName) |
void |
shoudBeValidMapReduceEvaluation() |
void |
shoudBeValidMapReduceWithPartitionerEvaluation() |
void |
shouldNumberOfMapTaskNotExceedNumberOfRegionsForGivenTable() |
void |
shouldNumberOfReduceTaskNotExceedNumberOfRegionsForGivenTable()
Check what the given number of reduce tasks for the given job configuration
does not exceed the number of regions for the given table.
|
public static void beforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic static void afterClass()
throws java.lang.Exception
java.lang.Exceptionpublic void before()
throws java.io.IOException
java.io.IOExceptionpublic static Table createAndFillTable(TableName tableName) throws java.io.IOException
java.io.IOExceptionpublic void shouldNumberOfReduceTaskNotExceedNumberOfRegionsForGivenTable()
throws java.io.IOException
java.io.IOExceptionpublic void shouldNumberOfMapTaskNotExceedNumberOfRegionsForGivenTable()
throws java.io.IOException
java.io.IOExceptionpublic void shoudBeValidMapReduceEvaluation()
throws java.lang.Exception
java.lang.Exceptionpublic void shoudBeValidMapReduceWithPartitionerEvaluation()
throws java.io.IOException
java.io.IOException