public class TestMasterNoCluster extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
| 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
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, ZooKeeperConnectionException, IOException
org.apache.zookeeper.KeeperExceptionZooKeeperConnectionExceptionIOExceptionpublic 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–2019 Cloudera. All rights reserved.