public class TestZKConfig extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static Set<String> |
ZOOKEEPER_CLIENT_TLS_PROPERTIES
Supported ZooKeeper client TLS properties
|
Constructor and Description |
---|
TestZKConfig() |
Modifier and Type | Method and Description |
---|---|
void |
testClusterKey() |
void |
testClusterKeyWithMultiplePorts() |
void |
testGetZooKeeperClusterKey() |
private void |
testKey(String ensemble,
int port,
String znode) |
private void |
testKey(String ensemble,
int port,
String znode,
Boolean multiplePortSupport) |
void |
testZKConfigLoading() |
void |
testZooKeeperPropertiesDoesntOverwriteSystem() |
void |
testZooKeeperTlsPropertiesClient() |
void |
testZooKeeperTlsPropertiesServer() |
public static final HBaseClassTestRule CLASS_RULE
private static final Set<String> ZOOKEEPER_CLIENT_TLS_PROPERTIES
public TestZKConfig()
public void testZKConfigLoading() throws Exception
Exception
public void testGetZooKeeperClusterKey()
public void testClusterKey() throws Exception
Exception
public void testClusterKeyWithMultiplePorts() throws Exception
Exception
public void testZooKeeperTlsPropertiesClient()
public void testZooKeeperTlsPropertiesServer()
public void testZooKeeperPropertiesDoesntOverwriteSystem()
private void testKey(String ensemble, int port, String znode) throws IOException
IOException
private void testKey(String ensemble, int port, String znode, Boolean multiplePortSupport) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.