public class TestMasterNoCluster 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 HBaseTestingUtility |
TESTUTIL |
| Constructor and Description |
|---|
TestMasterNoCluster() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testFailover()
Test master failover.
|
void |
testMasterInitWithObserverModeClientZKQuorum() |
void |
testMasterInitWithSameClientServerZKQuorum() |
void |
testNotPullingDeadRegionServerFromZK() |
void |
testStopDuringStart()
Test starting master then stopping it before its fully up.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TESTUTIL
public org.junit.rules.TestName name
public TestMasterNoCluster()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void tearDown() throws org.apache.zookeeper.KeeperException, org.apache.hadoop.hbase.ZooKeeperConnectionException, IOException
org.apache.zookeeper.KeeperExceptionorg.apache.hadoop.hbase.ZooKeeperConnectionExceptionIOExceptionpublic void testStopDuringStart() throws IOException, org.apache.zookeeper.KeeperException, InterruptedException
IOExceptionorg.apache.zookeeper.KeeperExceptionInterruptedExceptionpublic void testFailover() throws Exception
IOExceptionorg.apache.zookeeper.KeeperExceptionInterruptedExceptionorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionExceptionpublic void testNotPullingDeadRegionServerFromZK() throws IOException, org.apache.zookeeper.KeeperException, InterruptedException
IOExceptionorg.apache.zookeeper.KeeperExceptionInterruptedExceptionpublic void testMasterInitWithSameClientServerZKQuorum() throws Exception
Exceptionpublic void testMasterInitWithObserverModeClientZKQuorum() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.