public class TestTableInputFormat extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestTableInputFormat.ExampleDeprecatedTIF |
static class |
TestTableInputFormat.ExampleJobConfigurableTIF |
static class |
TestTableInputFormat.ExampleTIF |
static class |
TestTableInputFormat.ExampleVerifier |
| Constructor and Description |
|---|
TestTableInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
static void |
afterClass() |
void |
before() |
static void |
beforeClass() |
static Table |
createTable(byte[] tableName)
Setup a table with two rows and values.
|
static Table |
createTable(byte[] tableName,
byte[][] families)
Setup a table with two rows and values per column family.
|
void |
testDeprecatedExtensionOfTableInputFormatBase() |
void |
testExtensionOfTableInputFormatBase()
Verify the example we present in javadocs on TableInputFormatBase
|
void |
testJobConfigurableExtensionOfTableInputFormatBase() |
void |
testTableRecordReader()
Run test assuming no errors using mapred api.
|
void |
testTableRecordReaderScannerFail()
Run test assuming Scanner IOException failure using mapred api,
|
void |
testTableRecordReaderScannerFailTwice()
Run test assuming Scanner IOException failure using mapred api,
|
void |
testTableRecordReaderScannerTimeout()
Run test assuming NotServingRegionException using mapred api.
|
void |
testTableRecordReaderScannerTimeoutTwice()
Run test assuming NotServingRegionException using mapred api.
|
public void before()
throws IOException
IOExceptionpublic static Table createTable(byte[] tableName) throws IOException
tableName - IOExceptionpublic static Table createTable(byte[] tableName, byte[][] families) throws IOException
tableName - IOExceptionpublic void testTableRecordReader()
throws IOException
IOExceptionpublic void testTableRecordReaderScannerFail()
throws IOException
IOExceptionpublic void testTableRecordReaderScannerFailTwice()
throws IOException
IOExceptionpublic void testTableRecordReaderScannerTimeout()
throws IOException
DoNotRetryIOExceptionIOExceptionpublic void testTableRecordReaderScannerTimeoutTwice()
throws IOException
DoNotRetryIOExceptionIOExceptionpublic void testExtensionOfTableInputFormatBase()
throws IOException
IOExceptionpublic void testDeprecatedExtensionOfTableInputFormatBase()
throws IOException
IOExceptionpublic void testJobConfigurableExtensionOfTableInputFormatBase()
throws IOException
IOException