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