public class TestTableInputFormatScan extends TestTableInputFormatScanBase
TestTableInputFormatScanBase.ScanMapper, TestTableInputFormatScanBase.ScanReducer
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
INPUT_FAMILYS, KEY_LASTROW, KEY_STARTROW, TABLE_NAME, TEST_UTIL
Constructor and Description |
---|
TestTableInputFormatScan() |
Modifier and Type | Method and Description |
---|---|
void |
testAutoBalanceSplits()
Test if autoBalance create correct splits
|
void |
testGetSplits()
Tests a MR scan using specific number of mappers.
|
void |
testScanFromConfiguration() |
void |
testSpecifiedNumOfMappersMR()
Runs a MR to test TIF using specific number of mappers.
|
setUpBeforeClass, tearDownAfterClass, testAutobalanceNumOfSplit, testNumOfSplits, testNumOfSplitsMR, testScan, testScanFromConfiguration
public static final HBaseClassTestRule CLASS_RULE
public TestTableInputFormatScan()
public void testGetSplits() throws IOException, InterruptedException, ClassNotFoundException
public void testSpecifiedNumOfMappersMR() throws InterruptedException, IOException, ClassNotFoundException
public void testAutoBalanceSplits() throws IOException
IOException
public void testScanFromConfiguration() throws IOException, InterruptedException, ClassNotFoundException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.