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
Exception
public void testMiniClusterBindToWildcard() throws Exception
Exception
public void testMiniClusterWithSSLOn() throws Exception
Exception
public void testMultipleStartStop() throws Exception
Exception
public void testMiniZooKeeperWithOneServer() throws Exception
Exception
public void testMiniZooKeeperWithMultipleServers() throws Exception
Exception
public void testMiniZooKeeperWithMultipleClientPorts() throws Exception
Exception
public void testMiniDFSCluster() throws Exception
Exception
public void testSetupClusterTestBuildDir() throws Exception
Exception
public void testTestDir() throws Exception
Exception
public void testResolvePortConflict() throws Exception
Exception
public void testOverridingOfDefaultPorts() throws Exception
Exception
public void testKillMiniHBaseCluster() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.