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 |
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
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void tearDown() throws org.apache.zookeeper.KeeperException, org.apache.hadoop.hbase.ZooKeeperConnectionException, IOException
org.apache.zookeeper.KeeperException
org.apache.hadoop.hbase.ZooKeeperConnectionException
IOException
public void testStopDuringStart() throws IOException, org.apache.zookeeper.KeeperException, InterruptedException
IOException
org.apache.zookeeper.KeeperException
InterruptedException
public void testFailover() throws Exception
Exception
public void testMasterInitWithSameClientServerZKQuorum() throws Exception
Exception
public void testMasterInitWithObserverModeClientZKQuorum() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.