Package org.apache.hadoop.hbase
Class TestHBaseTestingUtility
java.lang.Object
org.apache.hadoop.hbase.TestHBaseTestingUtility
Test our testing utility class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
org.junit.rules.TestName
private static final int
private static final int
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
Basic sanity test that spins up multiple HDFS and HBase clusters that share the same ZK ensemble.void
Test that we can start and stop multiple time a cluster with the same HBaseTestingUtility.void
void
void
void
-
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
-