public class MHBaseTestingUtility extends HBaseTestingUtility
MHBaseTestingUtility (which is only functional with HBase 2.0 or later)
provides a ColumnManager-enabled extension to the
HBaseTestingUtility.
HBaseTestingUtility.SeenRowTrackerBLOOM_AND_COMPRESSION_COMBINATIONS, BOOLEAN_PARAMETERIZED, COLUMNS, COMPRESSION_ALGORITHMS, COMPRESSION_ALGORITHMS_PARAMETERIZED, DEFAULT_REGIONS_PER_SERVER, fam1, fam2, fam3, FIRST_CHAR, KEYS, KEYS_FOR_HBA_CREATE_TABLE, LAST_CHAR, MEMSTORETS_TAGS_PARAMETRIZED, REGIONS_PER_SERVER_KEY, ROWS, START_KEY, START_KEY_BYTESBASE_TEST_DIRECTORY_KEY, conf, DEFAULT_BASE_TEST_DIRECTORY, LOG| Constructor and Description |
|---|
MHBaseTestingUtility() |
MHBaseTestingUtility(Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
Admin |
getAdmin()
Returns
Admin object. |
Connection |
getConnection()
Returns a
Connection created by
MConnectionFactory. |
HBaseAdmin |
getHBaseAdmin()
Note that this method is deprecated as of HBase 2.0, and the ColumnManagerAPI does NOT
support it.
|
assertKVListsEqual, assertRegionOnlyOnServer, assertRegionOnServer, checksumRows, cleanupDataTestDirOnTestFS, cleanupDataTestDirOnTestFS, cleanupTestDir, closeRegion, closeRegion, closeRegion, closeRegionByRow, closeRegionByRow, compact, compact, countRows, countRows, countRows, createAndForceNodeToOpenedState, createAndForceNodeToOpenedState, createHRegion, createLocalHRegion, createLocalHRegion, createLocalHRegion, createLocalHRegion, createLocalHTU, createLocalHTU, createMockRegionServerService, createMockRegionServerService, createMockRegionServerService, createMultiRegionsInMeta, createMultiRegionTable, createMultiRegionTable, createMultiRegionTable, createMultiRegionTable, createPreSplitLoadTestTable, createPreSplitLoadTestTable, createPreSplitLoadTestTable, createPreSplitLoadTestTable, createPreSplitLoadTestTable, createPreSplitLoadTestTable, createRandomTable, createRootDir, createRootDir, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTable, createTableDescriptor, createTableDescriptor, createTestRegion, deleteNumericRows, deleteTable, deleteTable, deleteTable, deleteTableData, deleteTableData, deleteTableIfAny, enableDebug, ensureSomeNonStoppedRegionServersAvailable, ensureSomeRegionServersAvailable, expireMasterSession, expireRegionServerSession, expireSession, expireSession, expireSession, explainTableAvailability, explainTableState, flush, flush, generateColumnDescriptors, generateColumnDescriptors, getAllOnlineRegions, getClusterKey, getConfiguration, getDataTestDirOnTestFS, getDataTestDirOnTestFS, getDefaultRootDirPath, getDefaultRootDirPath, getDFSCluster, getDifferentUser, getFromStoreFile, getFromStoreFile, getHBaseCluster, getHBaseClusterInterface, getMetaRSPort, getMetaTableDescriptor, getMetaTableRows, getMetaTableRows, getMiniHBaseCluster, getRegionSplitStartKeys, getRSForFirstRegionInTable, getSplittableRegion, getSupportedCompressionAlgorithms, getTestFileSystem, getZkCluster, getZooKeeperWatcher, getZooKeeperWatcher, isReadShortCircuitOn, loadNumericRows, loadRegion, loadRegion, loadRegion, loadTable, loadTable, loadTable, loadTable, loadTable, modifyTableSync, predicateNoRegionsInTransition, predicateTableAvailable, predicateTableDisabled, predicateTableEnabled, randomFreePort, randomMultiCastAddress, randomPort, restartHBaseCluster, safeGetAsStr, setDFSCluster, setDFSCluster, setFileSystemURI, setHBaseCluster, setMaxRecoveryErrorCount, setReplicas, setupDataTestDir, setZkCluster, shutdownMiniCluster, shutdownMiniDFSCluster, shutdownMiniHBaseCluster, shutdownMiniMapReduceCluster, shutdownMiniZKCluster, startMiniCluster, startMiniCluster, startMiniCluster, startMiniCluster, startMiniCluster, startMiniCluster, startMiniCluster, startMiniCluster, startMiniCluster, startMiniCluster, startMiniCluster, startMiniDFSCluster, startMiniDFSCluster, startMiniDFSCluster, startMiniDFSCluster, startMiniDFSClusterForTestWAL, startMiniHBaseCluster, startMiniHBaseCluster, startMiniMapReduceCluster, startMiniZKCluster, startMiniZKCluster, truncateTable, truncateTable, truncateTable, truncateTable, verifyNumericRows, verifyNumericRows, verifyNumericRows, verifyNumericRows, verifyNumericRows, waitFor, waitFor, waitFor, waitForHostPort, waitLabelAvailable, waitTableAvailable, waitTableAvailable, waitTableAvailable, waitTableAvailable, waitTableDisabled, waitTableDisabled, waitTableDisabled, waitTableDisabled, waitTableEnabled, waitTableEnabled, waitTableEnabled, waitUntilAllRegionsAssigned, waitUntilAllRegionsAssigned, waitUntilNoRegionsInTransitioncreateSubDir, getDataTestDir, getDataTestDirpublic MHBaseTestingUtility()
public MHBaseTestingUtility(Configuration conf)
public Connection getConnection() throws IOException
Connection created by
MConnectionFactory.getConnection in class HBaseTestingUtilityConnection created by
MConnectionFactoryIOException - if a remote or network exception occurspublic HBaseAdmin getHBaseAdmin() throws UnsupportedOperationException
getHBaseAdmin in class HBaseTestingUtilityHBaseAdmin object; note that this method
is deprecated as of HBase 2.0UnsupportedOperationException - in all cases within the ColumnManagerAPI frameworkpublic Admin getAdmin() throws IOException
Admin object.Admin objectIOException - if a remote or network exception occursCopyright © 2016. All rights reserved.