public class TestTableMapReduceUtil extends 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 void before()
throws IOException
IOExceptionpublic static Table createAndFillTable(TableName tableName) throws IOException
IOExceptionpublic void shouldNumberOfReduceTaskNotExceedNumberOfRegionsForGivenTable()
throws IOException
IOExceptionpublic void shouldNumberOfMapTaskNotExceedNumberOfRegionsForGivenTable()
throws IOException
IOExceptionpublic void shoudBeValidMapReduceEvaluation()
throws Exception
Exceptionpublic void shoudBeValidMapReduceWithPartitionerEvaluation()
throws IOException
IOException