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 |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| 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 |
testTableRecordReaderMapreduce()
Run test assuming no errors using newer mapreduce api
|
void |
testTableRecordReaderScannerFailMapreduce()
Run test assuming Scanner IOException failure using newer mapreduce api
|
void |
testTableRecordReaderScannerFailMapreduceTwice()
Run test assuming Scanner IOException failure using newer mapreduce api
|
void |
testTableRecordReaderScannerTimeoutMapreduce()
Run test assuming NotServingRegionException using newer mapreduce api
|
void |
testTableRecordReaderScannerTimeoutMapreduceTwice()
Run test assuming NotServingRegionException using newer mapreduce 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 testTableRecordReaderMapreduce()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testTableRecordReaderScannerFailMapreduce()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testTableRecordReaderScannerFailMapreduceTwice()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testTableRecordReaderScannerTimeoutMapreduce()
throws java.io.IOException,
java.lang.InterruptedException
java.lang.InterruptedExceptionorg.apache.hadoop.hbase.DoNotRetryIOExceptionjava.io.IOExceptionpublic void testTableRecordReaderScannerTimeoutMapreduceTwice()
throws java.io.IOException,
java.lang.InterruptedException
java.lang.InterruptedExceptionorg.apache.hadoop.hbase.NotServingRegionExceptionjava.io.IOExceptionpublic void testExtensionOfTableInputFormatBase()
throws java.io.IOException,
java.lang.InterruptedException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.InterruptedExceptionjava.lang.ClassNotFoundExceptionpublic void testJobConfigurableExtensionOfTableInputFormatBase()
throws java.io.IOException,
java.lang.InterruptedException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.InterruptedExceptionjava.lang.ClassNotFoundExceptionpublic void testDeprecatedExtensionOfTableInputFormatBase()
throws java.io.IOException,
java.lang.InterruptedException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.InterruptedExceptionjava.lang.ClassNotFoundException