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 |
| 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 final HBaseClassTestRule CLASS_RULE
public TestTableInputFormat()
public static void beforeClass() throws Exception
Exceptionpublic static void afterClass() throws Exception
Exceptionpublic 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 testTableRecordReaderMapreduce() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testTableRecordReaderScannerFailMapreduce() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testTableRecordReaderScannerFailMapreduceTwice() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testTableRecordReaderScannerTimeoutMapreduce() throws IOException, InterruptedException
public void testTableRecordReaderScannerTimeoutMapreduceTwice() throws IOException, InterruptedException
public void testExtensionOfTableInputFormatBase() throws IOException, InterruptedException, ClassNotFoundException
public void testJobConfigurableExtensionOfTableInputFormatBase() throws IOException, InterruptedException, ClassNotFoundException
public void testDeprecatedExtensionOfTableInputFormatBase() throws IOException, InterruptedException, ClassNotFoundException
Copyright © 2007–2019 Cloudera. All rights reserved.