Package org.apache.hadoop.hbase
Class TestHBaseTestingUtil
java.lang.Object
org.apache.hadoop.hbase.TestHBaseTestingUtil
@Tag("org.apache.hadoop.hbase.testclassification.MiscTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestHBaseTestingUtil
extends Object
Test our testing utility class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate static final intprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtestKillMiniHBaseCluster(org.junit.jupiter.api.TestInfo testInfo) voidvoidvoidvoidvoidvoidvoidvoidtestMultiClusters(org.junit.jupiter.api.TestInfo testInfo) Basic sanity test that spins up multiple HDFS and HBase clusters that share the same ZK ensemble.voidTest that we can start and stop multiple time a cluster with the same HBaseTestingUtility.voidvoidvoid
-
Field Details
-
LOG
-
NUMTABLES
- See Also:
-
NUMROWS
- See Also:
-
NUMREGIONS
- See Also:
-
-
Constructor Details
-
TestHBaseTestingUtil
public TestHBaseTestingUtil()
-
-
Method Details
-
testMultiClusters
Basic sanity test that spins up multiple HDFS and HBase clusters that share the same ZK ensemble. We then create the same table in both and make sure that what we insert in one place doesn't end up in the other.- Throws:
Exception- on error
-
testMiniCluster
- Throws:
Exception
-
testMiniClusterBindToWildcard
- Throws:
Exception
-
testMiniClusterWithSSLOn
- Throws:
Exception
-
testMultipleStartStop
Test that we can start and stop multiple time a cluster with the same HBaseTestingUtility.- Throws:
Exception
-
testMiniZooKeeperWithOneServer
- Throws:
Exception
-
testMiniZooKeeperWithMultipleServers
- Throws:
Exception
-
testMiniZooKeeperWithMultipleClientPorts
- Throws:
Exception
-
testMiniDFSCluster
- Throws:
Exception
-
testSetupClusterTestBuildDir
- Throws:
Exception
-
testTestDir
- Throws:
Exception
-
testOverridingOfDefaultPorts
- Throws:
Exception
-
testKillMiniHBaseCluster
@Test public void testKillMiniHBaseCluster(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-