Package org.apache.hadoop.hbase.client
Class TestZKConnectionRegistry
java.lang.Object
org.apache.hadoop.hbase.client.TestZKConnectionRegistry
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) static final org.slf4j.Logger
final org.junit.rules.TestName
private static org.apache.hadoop.hbase.client.ZKConnectionRegistry
(package private) static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
name
-
LOG
-
TEST_UTIL
-
REGISTRY
-
-
Constructor Details
-
TestZKConnectionRegistry
public TestZKConnectionRegistry()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
test
-
testIndependentZKConnections
- Throws:
IOException
-
testNoMetaAvailable
- Throws:
InterruptedException
-
testDiscontinuousLocations
public void testDiscontinuousLocations() throws ExecutionException, InterruptedException, IOException, org.apache.zookeeper.KeeperException, TimeoutExceptionPass discontinuous list of znodes to registry getMetaRegionLocation. Should work fine. It used to throw ArrayOutOfBoundsException. See HBASE-25280.- Throws:
ExecutionException
InterruptedException
IOException
org.apache.zookeeper.KeeperException
TimeoutException
-