Package org.apache.hadoop.hbase
Class TestHBaseTestingUtility
java.lang.Object
org.apache.hadoop.hbase.TestHBaseTestingUtility
Test our testing utility class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.Loggerorg.junit.rules.TestNameprivate static final intprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidBasic 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.voidvoidvoidvoid
-
Field Details
-
NUMTABLES
- See Also:
-
NUMROWS
- See Also:
-
NUMREGIONS
- See Also:
-
CLASS_RULE
-
LOG
-
name
-
-
Constructor Details
-
TestHBaseTestingUtility
public TestHBaseTestingUtility()
-
-
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
-
testResolvePortConflict
- Throws:
Exception
-
testOverridingOfDefaultPorts
- Throws:
Exception
-
testKillMiniHBaseCluster
- Throws:
Exception
-