| Modifier and Type | Class and Description |
|---|---|
class |
IntegrationTestingUtility
Facility for integration/system tests.
|
| Modifier and Type | Field and Description |
|---|---|
protected HBaseTestingUtility |
HBaseTestCase.testUtil
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static HBaseTestingUtility |
HBaseTestingUtility.createLocalHTU()
Deprecated.
use
HBaseTestingUtility() instead |
static HBaseTestingUtility |
HBaseTestingUtility.createLocalHTU(org.apache.hadoop.conf.Configuration c)
Deprecated.
use
HBaseTestingUtility(Configuration) instead |
| Modifier and Type | Method and Description |
|---|---|
static void |
ProcedureTestUtil.waitUntilProcedureTimeoutIncrease(HBaseTestingUtility util,
Class<? extends org.apache.hadoop.hbase.procedure2.Procedure<?>> clazz,
int times) |
static void |
ProcedureTestUtil.waitUntilProcedureWaitingTimeout(HBaseTestingUtility util,
Class<? extends org.apache.hadoop.hbase.procedure2.Procedure<?>> clazz,
long timeout) |
| Modifier and Type | Field and Description |
|---|---|
protected static HBaseTestingUtility |
AbstractTestShell.TEST_UTIL |
protected static HBaseTestingUtility |
TestFromClientSideScanExcpetion.TEST_UTIL |
protected static HBaseTestingUtility |
AbstractTestAsyncTableRegionReplicasRead.TEST_UTIL |
protected static HBaseTestingUtility |
TestFromClientSide.TEST_UTIL |
protected static HBaseTestingUtility |
TestAsyncAdminBase.TEST_UTIL |
protected static HBaseTestingUtility |
AbstractTestCITimeout.TEST_UTIL |
protected static HBaseTestingUtility |
AbstractTestAsyncTableScan.TEST_UTIL |
protected static HBaseTestingUtility |
AbstractTestScanCursor.TEST_UTIL |
protected static HBaseTestingUtility |
CloneSnapshotFromClientTestBase.TEST_UTIL |
protected static HBaseTestingUtility |
TestAvoidCellReferencesIntoShippedBlocks.TEST_UTIL |
protected static HBaseTestingUtility |
TestIllegalTableDescriptor.TEST_UTIL |
protected static HBaseTestingUtility |
RestoreSnapshotFromClientTestBase.TEST_UTIL |
protected static HBaseTestingUtility |
TestAppendFromClientSide.TEST_UTIL |
protected static HBaseTestingUtility |
TestFromClientSideNoCodec.TEST_UTIL |
protected static HBaseTestingUtility |
TestSizeFailures.TEST_UTIL |
protected static HBaseTestingUtility |
TestBlockEvictionFromClient.TEST_UTIL |
protected static HBaseTestingUtility |
TestIncrementsFromClientSide.TEST_UTIL |
protected static HBaseTestingUtility |
TestSnapshotFromClient.UTIL |
protected static HBaseTestingUtility |
TestSnapshotCloneIndependence.UTIL |
protected HBaseTestingUtility |
TestServerLoadDurability.utility |
| Modifier and Type | Method and Description |
|---|---|
static void |
TestTableSnapshotScanner.blockUntilSplitFinished(HBaseTestingUtility util,
TableName tableName,
int expectedRegionSize) |
static void |
TestEnableTable.createTable(HBaseTestingUtility testUtil,
HTableDescriptor htd,
byte[][] splitKeys) |
static void |
TestTableSnapshotScanner.createTableAndSnapshot(HBaseTestingUtility util,
TableName tableName,
String snapshotName,
int numRegions) |
static void |
TestEnableTable.deleteTable(HBaseTestingUtility testUtil,
TableName tableName) |
static void |
TestMetaWithReplicas.shutdownMetaAndDoValidations(HBaseTestingUtility util) |
protected void |
TestMobRestoreSnapshotFromClientAfterSplittingRegions.verifyRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
protected void |
TestMobCloneSnapshotFromClientNormal.verifyRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
protected void |
CloneSnapshotFromClientTestBase.verifyRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
protected void |
TestMobRestoreSnapshotFromClientSimple.verifyRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
protected void |
RestoreSnapshotFromClientTestBase.verifyRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
protected void |
TestMobRestoreSnapshotFromClientClone.verifyRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
protected void |
TestMobRestoreSnapshotFromClientSchemaChange.verifyRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
| Constructor and Description |
|---|
CreateTableThread(HBaseTestingUtility UTIL) |
| Modifier and Type | Method and Description |
|---|---|
static void |
TestTableSnapshotInputFormat.doTestWithMapReduce(HBaseTestingUtility util,
TableName tableName,
String snapshotName,
byte[] startRow,
byte[] endRow,
org.apache.hadoop.fs.Path tableDir,
int numRegions,
int numSplitsPerRegion,
int expectedNumSplits,
boolean shutdownCluster) |
protected void |
TestTableSnapshotInputFormat.testWithMapReduceImpl(HBaseTestingUtility util,
TableName tableName,
String snapshotName,
org.apache.hadoop.fs.Path tableDir,
int numRegions,
int numSplitsPerRegion,
int expectedNumSplits,
boolean shutdownCluster) |
protected void |
TestTableSnapshotInputFormat.testWithMockedMapReduce(HBaseTestingUtility util,
String snapshotName,
int numRegions,
int numSplitsPerRegion,
int expectedNumSplits,
boolean setLocalityEnabledTo) |
| Modifier and Type | Field and Description |
|---|---|
static HBaseTestingUtility |
MultiTableInputFormatTestBase.TEST_UTIL |
protected static HBaseTestingUtility |
TestSimpleTotalOrderPartitioner.TEST_UTIL |
protected static HBaseTestingUtility |
TestImportTSVWithTTLs.util |
protected static HBaseTestingUtility |
TestImportTSVWithOperationAttributes.util |
protected static HBaseTestingUtility |
TestImportTSVWithVisibilityLabels.util |
protected static HBaseTestingUtility |
TestImportTsv.util |
protected static HBaseTestingUtility |
TestCellBasedImportExport2.UTIL |
protected static HBaseTestingUtility |
TestImportExport.UTIL |
protected static HBaseTestingUtility |
TestTableMapReduceBase.UTIL |
protected HBaseTestingUtility |
TableSnapshotInputFormatTestBase.UTIL |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
TableSnapshotInputFormatTestBase.createTableAndSnapshot(HBaseTestingUtility util,
TableName tableName,
String snapshotName,
byte[] startRow,
byte[] endRow,
int numRegions) |
protected static org.apache.hadoop.util.Tool |
TestImportTSVWithTTLs.doMROnTableTest(HBaseTestingUtility util,
String family,
String data,
String[] args,
int valueMultiplier) |
protected static org.apache.hadoop.util.Tool |
TestImportTSVWithVisibilityLabels.doMROnTableTest(HBaseTestingUtility util,
String family,
String data,
String[] args,
int valueMultiplier) |
protected static org.apache.hadoop.util.Tool |
TestImportTSVWithVisibilityLabels.doMROnTableTest(HBaseTestingUtility util,
String family,
String data,
String[] args,
int valueMultiplier,
int expectedKVCount)
Run an ImportTsv job and perform basic validation on the results.
|
protected static org.apache.hadoop.util.Tool |
TestImportTsv.doMROnTableTest(HBaseTestingUtility util,
TableName table,
String family,
String data,
Map<String,String> args) |
protected static org.apache.hadoop.util.Tool |
TestImportTsv.doMROnTableTest(HBaseTestingUtility util,
TableName table,
String family,
String data,
Map<String,String> args,
int valueMultiplier,
int expectedKVCount)
Run an ImportTsv job and perform basic validation on the results.
|
static void |
TestTableSnapshotInputFormat.doTestWithMapReduce(HBaseTestingUtility util,
TableName tableName,
String snapshotName,
byte[] startRow,
byte[] endRow,
org.apache.hadoop.fs.Path tableDir,
int numRegions,
int numSplitsPerRegion,
int expectedNumSplits,
boolean shutdownCluster) |
protected void |
TableSnapshotInputFormatTestBase.testWithMapReduce(HBaseTestingUtility util,
String snapshotName,
int numRegions,
int numSplitsPerRegion,
int expectedNumSplits,
boolean shutdownCluster) |
protected void |
TestTableSnapshotInputFormat.testWithMapReduceImpl(HBaseTestingUtility util,
TableName tableName,
String snapshotName,
org.apache.hadoop.fs.Path tableDir,
int numRegions,
int numSplitsPerRegion,
int expectedNumSplits,
boolean shutdownCluster) |
protected abstract void |
TableSnapshotInputFormatTestBase.testWithMapReduceImpl(HBaseTestingUtility util,
TableName tableName,
String snapshotName,
org.apache.hadoop.fs.Path tableDir,
int numRegions,
int numSplitsPerRegion,
int expectedNumSplits,
boolean shutdownCluster) |
void |
TestTableSnapshotInputFormat.testWithMockedMapReduce(HBaseTestingUtility util,
String snapshotName,
int numRegions,
int numSplitsPerRegion,
int expectedNumSplits,
boolean setLocalityEnabledTo) |
protected abstract void |
TableSnapshotInputFormatTestBase.testWithMockedMapReduce(HBaseTestingUtility util,
String snapshotName,
int numRegions,
int numSplitsPerRegion,
int expectedNumSplits,
boolean setLocalityEnabledTo) |
| Modifier and Type | Field and Description |
|---|---|
protected static HBaseTestingUtility |
TestWarmupRegion.TEST_UTIL |
protected static HBaseTestingUtility |
TestCatalogJanitorInMemoryStates.TEST_UTIL |
protected static HBaseTestingUtility |
TestMergeTableRegionsWhileRSCrash.UTIL |
protected static HBaseTestingUtility |
TestSplitRegionWhileRSCrash.UTIL |
| Modifier and Type | Method and Description |
|---|---|
static void |
TestNamespaceAuditor.waitForQuotaInitialize(HBaseTestingUtility util) |
| Constructor and Description |
|---|
SpaceQuotaHelperForTests(HBaseTestingUtility testUtil,
org.junit.rules.TestName testName,
AtomicLong counter) |
| Modifier and Type | Field and Description |
|---|---|
protected static HBaseTestingUtility |
TestRecoveredEditsReplayAndAbort.TEST_UTIL |
protected static HBaseTestingUtility |
TestHRegion.TEST_UTIL |
protected static HBaseTestingUtility |
TestCompactionPolicy.TEST_UTIL |
HBaseTestingUtility |
TestCompactionArchiveIOException.testUtil |
protected static HBaseTestingUtility |
TestSecureBulkLoadManager.testUtil |
HBaseTestingUtility |
TestCompactionArchiveConcurrentClose.testUtil |
protected static HBaseTestingUtility |
TestHRegionServerBulkLoad.UTIL |
| Modifier and Type | Method and Description |
|---|---|
static void |
TestRegionServerNoMaster.checkRegionIsClosed(HBaseTestingUtility HTU,
HRegionServer rs,
HRegionInfo hri) |
static void |
TestRegionServerNoMaster.checkRegionIsOpened(HBaseTestingUtility HTU,
HRegionServer rs,
HRegionInfo hri) |
static void |
TestRegionServerNoMaster.closeRegion(HBaseTestingUtility HTU,
HRegionServer rs,
HRegionInfo hri) |
static void |
TestRegionServerNoMaster.flushRegion(HBaseTestingUtility HTU,
HRegionInfo regionInfo)
Flush the given region in the mini cluster.
|
static void |
TestRegionServerNoMaster.openRegion(HBaseTestingUtility HTU,
HRegionServer rs,
HRegionInfo hri) |
static void |
TestRegionServerNoMaster.stopMasterAndAssignMeta(HBaseTestingUtility HTU) |
| Modifier and Type | Field and Description |
|---|---|
protected static HBaseTestingUtility |
AbstractTestLogRollPeriod.TEST_UTIL |
protected static HBaseTestingUtility |
AbstractTestLogRolling.TEST_UTIL |
protected static HBaseTestingUtility |
AbstractTestFSWAL.TEST_UTIL |
protected static HBaseTestingUtility |
AbstractTestProtobufLog.TEST_UTIL |
protected static HBaseTestingUtility |
TestLogRollAbort.TEST_UTIL |
| Modifier and Type | Field and Description |
|---|---|
protected static HBaseTestingUtility |
SerialReplicationTestBase.UTIL |
protected static HBaseTestingUtility |
TestReplicationBase.utility1 |
protected static HBaseTestingUtility |
TestReplicationBase.utility2 |
| Modifier and Type | Method and Description |
|---|---|
void |
TestReplicationKillRS.loadTableAndKillRS(HBaseTestingUtility util)
Load up 1 tables over 2 region servers and kill a source during the upload.
|
protected void |
TestReplicationSyncUpTool.syncUp(HBaseTestingUtility ut) |
| Modifier and Type | Field and Description |
|---|---|
protected static HBaseTestingUtility |
RowResourceBase.TEST_UTIL |
| Modifier and Type | Field and Description |
|---|---|
protected static HBaseTestingUtility |
TestRSGroupsBase.TEST_UTIL |
| Modifier and Type | Field and Description |
|---|---|
protected static HBaseTestingUtility |
TestExportSnapshot.TEST_UTIL |
protected static HBaseTestingUtility |
TestRestoreSnapshotHelper.TEST_UTIL |
protected static HBaseTestingUtility |
TestRestoreFlushSnapshotFromClient.UTIL |
protected static HBaseTestingUtility |
TestFlushSnapshotFromClient.UTIL |
| Modifier and Type | Method and Description |
|---|---|
static void |
SnapshotTestingUtils.confirmSnapshotValid(HBaseTestingUtility testUtil,
org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshotDescriptor,
TableName tableName,
byte[] family) |
static ArrayList |
SnapshotTestingUtils.corruptSnapshot(HBaseTestingUtility util,
String snapshotName)
Corrupt the specified snapshot by deleting some files.
|
static Table |
MobSnapshotTestingUtils.createMobTable(HBaseTestingUtility util,
TableName tableName,
byte[]... families)
Create a Mob table.
|
static void |
MobSnapshotTestingUtils.createMobTable(HBaseTestingUtility util,
TableName tableName,
byte[][] splitKeys,
int regionReplication,
byte[]... families) |
static void |
MobSnapshotTestingUtils.createMobTable(HBaseTestingUtility util,
TableName tableName,
byte[][] splitKeys,
int regionReplication,
String cpClassName,
byte[]... families) |
static void |
MobSnapshotTestingUtils.createMobTable(HBaseTestingUtility util,
TableName tableName,
int regionReplication,
byte[]... families)
Create the Mob Table.
|
static void |
MobSnapshotTestingUtils.createPreSplitMobTable(HBaseTestingUtility util,
TableName tableName,
int nRegions,
byte[]... families) |
static void |
SnapshotTestingUtils.createPreSplitTable(HBaseTestingUtility util,
TableName tableName,
int nRegions,
byte[]... families) |
static void |
SnapshotTestingUtils.createTable(HBaseTestingUtility util,
TableName tableName,
byte[]... families) |
static void |
SnapshotTestingUtils.createTable(HBaseTestingUtility util,
TableName tableName,
int regionReplication,
byte[]... families) |
static void |
SnapshotTestingUtils.createTable(HBaseTestingUtility util,
TableName tableName,
int regionReplication,
int nRegions,
byte[]... families) |
static void |
SnapshotTestingUtils.deleteArchiveDirectory(HBaseTestingUtility util) |
static void |
SnapshotTestingUtils.loadData(HBaseTestingUtility util,
BufferedMutator mutator,
int rows,
byte[]... families) |
static void |
SnapshotTestingUtils.loadData(HBaseTestingUtility util,
TableName tableName,
int rows,
byte[]... families) |
static void |
MobSnapshotTestingUtils.verifyMobRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
protected void |
TestMobRestoreFlushSnapshotFromClient.verifyRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
protected void |
TestMobFlushSnapshotFromClient.verifyRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
static void |
SnapshotTestingUtils.verifyRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
protected void |
TestRestoreFlushSnapshotFromClient.verifyRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
protected void |
TestFlushSnapshotFromClient.verifyRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
static void |
SnapshotTestingUtils.waitForTableToBeOnline(HBaseTestingUtility util,
TableName tableName) |
| Modifier and Type | Field and Description |
|---|---|
protected static HBaseTestingUtility |
BaseTestHBaseFsck.TEST_UTIL |
protected static HBaseTestingUtility |
TestMiniClusterLoadSequential.TEST_UTIL |
protected static HBaseTestingUtility |
TestCoprocessorScanPolicy.TEST_UTIL |
static HBaseTestingUtility |
TestRegionSplitCalculator.TEST_UTIL |
| Modifier and Type | Method and Description |
|---|---|
static void |
BaseTestHBaseFsck.createTable(HBaseTestingUtility testUtil,
HTableDescriptor htd,
byte[][] splitKeys) |
static void |
BaseTestHBaseFsck.deleteTable(HBaseTestingUtility testUtil,
TableName tableName) |
static org.apache.hadoop.fs.Path |
HFileArchiveTestingUtil.getStoreArchivePath(HBaseTestingUtility util,
String tableName,
byte[] storeName) |
| Constructor and Description |
|---|
MockServer(HBaseTestingUtility htu) |
MockServer(HBaseTestingUtility htu,
boolean zkw) |
| Modifier and Type | Field and Description |
|---|---|
protected HBaseTestingUtility |
OfflineMetaRebuildTestCore.TEST_UTIL |
| Modifier and Type | Field and Description |
|---|---|
protected static HBaseTestingUtility |
TestWALSplit.TEST_UTIL |
protected static HBaseTestingUtility |
TestWALFactory.TEST_UTIL |
Copyright © 2007–2019 Cloudera. All rights reserved.