public class TestHBaseTestingUtility extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
| Constructor and Description |
|---|
TestHBaseTestingUtility() |
| Modifier and Type | Method and Description |
|---|---|
void |
testKillMiniHBaseCluster() |
void |
testMiniCluster() |
void |
testMiniClusterBindToWildcard() |
void |
testMiniClusterWithSSLOn() |
void |
testMiniDFSCluster() |
void |
testMiniZooKeeperWithMultipleClientPorts() |
void |
testMiniZooKeeperWithMultipleServers() |
void |
testMiniZooKeeperWithOneServer() |
void |
testMultiClusters()
Basic sanity test that spins up multiple HDFS and HBase clusters that share
the same ZK ensemble.
|
void |
testMultipleStartStop()
Test that we can start and stop multiple time a cluster
with the same HBaseTestingUtility.
|
void |
testOverridingOfDefaultPorts() |
void |
testResolvePortConflict() |
void |
testSetupClusterTestBuildDir() |
void |
testTestDir() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
public TestHBaseTestingUtility()
public void testMultiClusters() throws Exception
Exceptionpublic void testMiniCluster() throws Exception
Exceptionpublic void testMiniClusterBindToWildcard() throws Exception
Exceptionpublic void testMiniClusterWithSSLOn() throws Exception
Exceptionpublic void testMultipleStartStop() throws Exception
Exceptionpublic void testMiniZooKeeperWithOneServer() throws Exception
Exceptionpublic void testMiniZooKeeperWithMultipleServers() throws Exception
Exceptionpublic void testMiniZooKeeperWithMultipleClientPorts() throws Exception
Exceptionpublic void testMiniDFSCluster() throws Exception
Exceptionpublic void testSetupClusterTestBuildDir() throws Exception
Exceptionpublic void testTestDir() throws Exception
Exceptionpublic void testResolvePortConflict() throws Exception
Exceptionpublic void testOverridingOfDefaultPorts() throws Exception
Exceptionpublic void testKillMiniHBaseCluster() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.