public class TestZKConnectionRegistry extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static org.apache.hadoop.hbase.client.ZKConnectionRegistry |
REGISTRY |
(package private) static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestZKConnectionRegistry() |
Modifier and Type | Method and Description |
---|---|
static void |
setUp() |
static void |
tearDown() |
void |
test() |
void |
testDiscontinuousLocations()
Pass discontinuous list of znodes to registry getMetaRegionLocation.
|
void |
testIndependentZKConnections() |
void |
testNoMetaAvailable() |
public static final HBaseClassTestRule CLASS_RULE
public final org.junit.rules.TestName name
static final org.slf4j.Logger LOG
static final HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.hbase.client.ZKConnectionRegistry REGISTRY
public TestZKConnectionRegistry()
public void test() throws InterruptedException, ExecutionException, IOException
public void testIndependentZKConnections() throws IOException
IOException
public void testNoMetaAvailable() throws InterruptedException
InterruptedException
public void testDiscontinuousLocations() throws ExecutionException, InterruptedException, IOException, org.apache.zookeeper.KeeperException, TimeoutException
ExecutionException
InterruptedException
IOException
org.apache.zookeeper.KeeperException
TimeoutException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.