public class TestTableInputFormat
extends java.lang.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 static void beforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic static void afterClass()
throws java.lang.Exception
java.lang.Exceptionpublic void before()
throws java.io.IOException
java.io.IOExceptionpublic static Table createTable(byte[] tableName) throws java.io.IOException
tableName - java.io.IOExceptionpublic static Table createTable(byte[] tableName, byte[][] families) throws java.io.IOException
tableName - java.io.IOExceptionpublic void testTableRecordReader()
throws java.io.IOException
java.io.IOExceptionpublic void testTableRecordReaderScannerFail()
throws java.io.IOException
java.io.IOExceptionpublic void testTableRecordReaderScannerFailTwice()
throws java.io.IOException
java.io.IOExceptionpublic void testTableRecordReaderScannerTimeout()
throws java.io.IOException
DoNotRetryIOExceptionjava.io.IOExceptionpublic void testTableRecordReaderScannerTimeoutTwice()
throws java.io.IOException
DoNotRetryIOExceptionjava.io.IOExceptionpublic void testExtensionOfTableInputFormatBase()
throws java.io.IOException
java.io.IOExceptionpublic void testDeprecatedExtensionOfTableInputFormatBase()
throws java.io.IOException
java.io.IOExceptionpublic void testJobConfigurableExtensionOfTableInputFormatBase()
throws java.io.IOException
java.io.IOException