Class TestTableInputFormatScan
java.lang.Object
org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScanBase
org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScanBase
TestTableInputFormatScanBase.ScanMapper, TestTableInputFormatScanBase.ScanReducer
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScanBase
INPUT_FAMILYS, KEY_LASTROW, KEY_STARTROW, TABLE_NAME, TEST_UTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test if autoBalance create correct splitsvoid
Tests a MR scan using specific number of mappers.void
void
Runs a MR to test TIF using specific number of mappers.Methods inherited from class org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScanBase
setUpBeforeClass, tearDownAfterClass, testAutobalanceNumOfSplit, testNumOfSplits, testNumOfSplitsMR, testScan, testScanFromConfiguration
-
Field Details
-
CLASS_RULE
-
-
Constructor Details
-
TestTableInputFormatScan
public TestTableInputFormatScan()
-
-
Method Details
-
testGetSplits
Tests a MR scan using specific number of mappers. The test table has 26 regions, -
testSpecifiedNumOfMappersMR
public void testSpecifiedNumOfMappersMR() throws InterruptedException, IOException, ClassNotFoundExceptionRuns a MR to test TIF using specific number of mappers. The test table has 26 regions, -
testAutoBalanceSplits
Test if autoBalance create correct splits- Throws:
IOException
-
testScanFromConfiguration
public void testScanFromConfiguration() throws IOException, InterruptedException, ClassNotFoundException
-