public class TestHBaseTestingUtility extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static int |
NUMREGIONS |
private static int |
NUMROWS |
private static int |
NUMTABLES |
| 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() |
private static final int NUMTABLES
private static final int NUMROWS
private static final int NUMREGIONS
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public org.junit.rules.TestName name
public TestHBaseTestingUtility()
public void testMultiClusters() throws Exception
Exception - on errorpublic 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–2020 The Apache Software Foundation. All rights reserved.