Class CopyTableToPeerClusterTestBase
java.lang.Object
org.apache.hadoop.hbase.mapreduce.CopyTableTestBase
org.apache.hadoop.hbase.mapreduce.CopyTableToPeerClusterTestBase
- Direct Known Subclasses:
TestCopyTableToPeerClusterWithClusterKey,TestCopyTableToPeerClusterWithRpcUri,TestCopyTableToPeerClusterWithZkUri
Test CopyTable between clusters
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final HBaseTestingUtilprotected static final HBaseTestingUtilFields inherited from class org.apache.hadoop.hbase.mapreduce.CopyTableTestBase
FAMILY_A, FAMILY_A_STRING, FAMILY_B, FAMILY_B_STRING, QUALIFIER, ROW1, ROW2 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidprotected org.apache.hadoop.hbase.client.TablecreateSourceTable(org.apache.hadoop.hbase.client.TableDescriptor desc) protected org.apache.hadoop.hbase.client.TablecreateTargetTable(org.apache.hadoop.hbase.client.TableDescriptor desc) protected voiddropSourceTable(org.apache.hadoop.hbase.TableName tableName) protected voiddropTargetTable(org.apache.hadoop.hbase.TableName tableName) protected String[]voidtestBulkLoadNotSupported(org.junit.jupiter.api.TestInfo testInfo) voidtestCopyTable(org.junit.jupiter.api.TestInfo testInfo) Simple end-to-end testvoidtestCopyTableWithMob(org.junit.jupiter.api.TestInfo testInfo) Simple end-to-end test on table with MOBvoidtestRenameFamily(org.junit.jupiter.api.TestInfo testInfo) Test copy of table from sourceTable to targetTable all rows from family avoidtestSnapshotNotSupported(org.junit.jupiter.api.TestInfo testInfo) voidtestStartStopRow(org.junit.jupiter.api.TestInfo testInfo) Methods inherited from class org.apache.hadoop.hbase.mapreduce.CopyTableTestBase
doCopyTableTest, doCopyTableTestWithMob, loadData, runCopy, testRenameFamily, testStartStopRow, verifyRows
-
Field Details
-
UTIL1
-
UTIL2
-
-
Constructor Details
-
CopyTableToPeerClusterTestBase
public CopyTableToPeerClusterTestBase()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
createSourceTable
protected org.apache.hadoop.hbase.client.Table createSourceTable(org.apache.hadoop.hbase.client.TableDescriptor desc) throws Exception - Specified by:
createSourceTablein classCopyTableTestBase- Throws:
Exception
-
createTargetTable
protected org.apache.hadoop.hbase.client.Table createTargetTable(org.apache.hadoop.hbase.client.TableDescriptor desc) throws Exception - Specified by:
createTargetTablein classCopyTableTestBase- Throws:
Exception
-
dropSourceTable
- Specified by:
dropSourceTablein classCopyTableTestBase- Throws:
Exception
-
dropTargetTable
- Specified by:
dropTargetTablein classCopyTableTestBase- Throws:
Exception
-
getPeerClusterOptions
- Specified by:
getPeerClusterOptionsin classCopyTableTestBase- Throws:
Exception
-
testCopyTable
Simple end-to-end test- Throws:
Exception
-
testCopyTableWithMob
Simple end-to-end test on table with MOB- Throws:
Exception
-
testStartStopRow
- Throws:
Exception
-
testRenameFamily
Test copy of table from sourceTable to targetTable all rows from family a- Throws:
Exception
-
testBulkLoadNotSupported
@Test public void testBulkLoadNotSupported(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
testSnapshotNotSupported
@Test public void testSnapshotNotSupported(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-