public class TestImportExport
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
TestName |
name |
protected static HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestImportExport() |
| Modifier and Type | Method and Description |
|---|---|
static void |
afterClass() |
void |
announce() |
static void |
beforeClass() |
void |
cleanup() |
protected boolean |
runExport(java.lang.String[] args)
Runs an export job with the specified command line args
|
protected void |
runExportMain(java.lang.String[] args) |
void |
testAddFilterAndArguments()
Test addFilterAndArguments method of Import This method set couple
parameters into Configuration
|
void |
testDurability() |
void |
testExportMain()
test main method.
|
void |
testExportScan() |
void |
testExportScannerBatching()
Test export scanner batching
|
void |
testImport94Table()
Test import data from 0.94 exported file
|
void |
testImportMain()
test main method.
|
void |
testKeyValueImporter()
Test map method of Importer
|
void |
testMetaExport()
Test export hbase:meta table
|
void |
testSimpleCase()
Test simple replication case with column mapping
|
void |
testWithDeletes() |
void |
testWithFilter()
Create a simple table, run an Export Job on it, Import with filtering on, verify counts,
attempt with invalid values.
|
void |
testWithMultipleDeleteFamilyMarkersOfSameRowSameFamily() |
public static final HBaseClassTestRule CLASS_RULE
protected static final HBaseTestingUtility UTIL
public final TestName name
public static void beforeClass()
throws java.lang.Throwable
java.lang.Throwablepublic static void afterClass()
throws java.lang.Throwable
java.lang.Throwablepublic void announce()
public void cleanup()
throws java.lang.Throwable
java.lang.Throwableprotected boolean runExport(java.lang.String[] args)
throws java.lang.Throwable
args - java.io.IOExceptionjava.lang.InterruptedExceptionjava.lang.ClassNotFoundExceptionjava.lang.Throwableprotected void runExportMain(java.lang.String[] args)
throws java.lang.Throwable
java.lang.Throwablepublic void testSimpleCase()
throws java.lang.Throwable
java.lang.Exceptionjava.lang.Throwablepublic void testMetaExport()
throws java.lang.Throwable
java.lang.Throwablepublic void testImport94Table()
throws java.lang.Throwable
java.lang.Throwablepublic void testExportScannerBatching()
throws java.lang.Throwable
java.lang.Throwablepublic void testWithDeletes()
throws java.lang.Throwable
java.lang.Throwablepublic void testWithMultipleDeleteFamilyMarkersOfSameRowSameFamily()
throws java.lang.Throwable
java.lang.Throwablepublic void testWithFilter()
throws java.lang.Throwable
java.lang.Throwablepublic void testImportMain()
throws java.lang.Throwable
java.lang.Throwablepublic void testExportScan()
throws java.lang.Exception
java.lang.Exceptionpublic void testExportMain()
throws java.lang.Throwable
java.lang.Throwablepublic void testKeyValueImporter()
throws java.lang.Throwable
java.lang.Throwablepublic void testAddFilterAndArguments()
throws java.io.IOException
java.io.IOExceptionpublic void testDurability()
throws java.lang.Throwable
java.lang.Throwable