public class TestTableMapReduceUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| 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 final HBaseClassTestRule CLASS_RULE
public TestTableMapReduceUtil()
public static void beforeClass() throws Exception
Exceptionpublic static void afterClass() throws Exception
Exceptionpublic 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
IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.