Home
last modified time | relevance | path

Searched refs:ZKConfig (Results 1 – 25 of 35) sorted by relevance

12

/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-server/src/test/java/org/apache/zookeeper/common/
H A DZKConfigTest.java39 ZKConfig conf = new ZKConfig(); in testBooleanRetrievalFromPropertyDefault()
53 ZKConfig conf = new ZKConfig(); in testBooleanRetrievalFromProperty()
65 ZKConfig conf = new ZKConfig(); in testBooleanRetrievalFromPropertyWithWhitespacesInBeginning()
77 ZKConfig conf = new ZKConfig(); in testBooleanRetrievalFromPropertyWithWhitespacesAtEnd()
89 ZKConfig conf = new ZKConfig(); in testBooleanRetrievalFromPropertyWithWhitespacesAtBeginningAndEnd()
/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-server/src/test/java/org/apache/zookeeper/client/
H A DZKClientConfigTest.java39 import org.apache.zookeeper.common.ZKConfig;
166 conf.setProperty(ZKConfig.JUTE_MAXBUFFER, "InvlaidIntValue123"); in testIntegerRetrievalFromProperty()
168 result = conf.getInt(ZKConfig.JUTE_MAXBUFFER, defaultValue); in testIntegerRetrievalFromProperty()
177 conf.setProperty(ZKConfig.JUTE_MAXBUFFER, Integer.toString(value)); in testIntegerRetrievalFromProperty()
178 result = conf.getInt(ZKConfig.JUTE_MAXBUFFER, defaultValue); in testIntegerRetrievalFromProperty()
183 conf.setProperty(ZKConfig.JUTE_MAXBUFFER, " " + value + " "); in testIntegerRetrievalFromProperty()
184 result = conf.getInt(ZKConfig.JUTE_MAXBUFFER, defaultValue); in testIntegerRetrievalFromProperty()
196 zkClientConfig.setProperty(ZKConfig.JUTE_MAXBUFFER, in testIntegerRetrievalFromHexadecimalProperty()
200 zkClientConfig.setProperty(ZKConfig.JUTE_MAXBUFFER, in testIntegerRetrievalFromHexadecimalProperty()
208 zkClientConfig.setProperty(ZKConfig.JUTE_MAXBUFFER, in testIntegerRetrievalFromHexadecimalProperty()
[all …]
/dports/databases/hbase/hbase-1.2.1/hbase-common/src/test/java/org/apache/hadoop/hbase/zookeeper/
H A DTestZKConfig.java44 Properties props = ZKConfig.makeZKProps(conf); in testZKConfigLoading()
56 String clusterKey = ZKConfig.getZooKeeperClusterKey(conf, "test"); in testGetZooKeeperClusterKey()
66 ZKConfig.validateClusterKey("2181:hbase"); in testClusterKey()
100 ZKConfig.ZKClusterKey zkClusterKey = ZKConfig.transformClusterKey(key); in testKey()
102 ensemble2 = ZKConfig.standardizeZKQuorumServerString(ensemble, in testKey()
117 String reconstructedKey = ZKConfig.getZooKeeperClusterKey(conf); in testKey()
/dports/databases/hbase/hbase-1.2.1/hbase-server/src/test/java/org/apache/hadoop/hbase/zookeeper/
H A DTestHQuorumPeer.java70 Properties properties = ZKConfig.makeZKProps(conf); in testMakeZKProps()
79 properties = ZKConfig.makeZKProps(conf); in testMakeZKProps()
103 Properties properties = ZKConfig.parseZooCfg(conf, is); in testConfigInjection()
125 properties = ZKConfig.parseZooCfg(conf, is); in testConfigInjection()
138 Properties p = ZKConfig.makeZKProps(config); in testShouldAssignDefaultZookeeperClientPort()
149 String s = ZKConfig.getZKQuorumServersString(config); in testGetZKQuorumServersString()
/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-server/src/main/java/org/apache/zookeeper/
H A DClientCnxnSocket.java33 import org.apache.zookeeper.common.ZKConfig;
237 ZKConfig.JUTE_MAXBUFFER, in initProperties()
239 LOG.info("{} value is {} Bytes", ZKConfig.JUTE_MAXBUFFER, packetLen); in initProperties()
243 clientConfig.getProperty(ZKConfig.JUTE_MAXBUFFER), in initProperties()
244 ZKConfig.JUTE_MAXBUFFER); in initProperties()
H A DLogin.java41 import org.apache.zookeeper.common.ZKConfig;
79 private final ZKConfig zkConfig;
97 …public Login(final String loginContextName, CallbackHandler callbackHandler, final ZKConfig zkConf… in Login()
213 … String cmd = zkConfig.getProperty(ZKConfig.KINIT_COMMAND, KINIT_COMMAND_DEFAULT); in Login()
/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-server/src/main/java/org/apache/zookeeper/common/
H A DSSLContextAndOptions.java64 …SSLContextAndOptions(final X509Util x509Util, final ZKConfig config, final SSLContext sslContext) { in SSLContextAndOptions()
170 private String[] getEnabledProtocols(final ZKConfig config, final SSLContext sslContext) { in getEnabledProtocols()
178 private String[] getCipherSuites(final ZKConfig config) { in getCipherSuites()
187 private X509Util.ClientAuth getClientAuth(final ZKConfig config) { in getClientAuth()
191 private int getHandshakeDetectionTimeoutMillis(final ZKConfig config) { in getHandshakeDetectionTimeoutMillis()
H A DZKConfig.java41 public class ZKConfig { class
43 private static final Logger LOG = LoggerFactory.getLogger(ZKConfig.class);
60 public ZKConfig() { in ZKConfig() method in ZKConfig
71 public ZKConfig(String configPath) throws ConfigException { in ZKConfig() method in ZKConfig
82 public ZKConfig(File configFile) throws ConfigException { in ZKConfig() method in ZKConfig
H A DX509Util.java162 private ZKConfig zkConfig;
172 public X509Util(ZKConfig zkConfig) { in X509Util()
255 public SSLContext createSSLContext(ZKConfig config) throws SSLContextException { in createSSLContext()
282 return createSSLContextAndOptions(zkConfig == null ? new ZKConfig() : zkConfig); in createSSLContextAndOptions()
306 …public SSLContextAndOptions createSSLContextAndOptions(ZKConfig config) throws SSLContextException… in createSSLContextAndOptions()
332 …public SSLContextAndOptions createSSLContextAndOptionsFromConfig(ZKConfig config) throws SSLContex… in createSSLContextAndOptionsFromConfig()
573 ZKConfig config = zkConfig == null ? new ZKConfig() : zkConfig; in enableCertFileReloading()
/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-server/src/test/java/org/apache/zookeeper/
H A DClientCnxnSocketTest.java25 import org.apache.zookeeper.common.ZKConfig;
48 clientConfig.setProperty(ZKConfig.JUTE_MAXBUFFER, value); in testWhenInvalidJuteMaxBufferIsConfiguredIOExceptionIsThrown()
/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-server/src/main/java/org/apache/zookeeper/server/auth/
H A DX509AuthenticationProvider.java32 import org.apache.zookeeper.common.ZKConfig;
67 ZKConfig config = new ZKConfig(); in X509AuthenticationProvider()
/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-server/src/main/java/org/apache/zookeeper/client/
H A DZKClientConfig.java24 import org.apache.zookeeper.common.ZKConfig;
32 public class ZKClientConfig extends ZKConfig {
/dports/databases/hbase/hbase-1.2.1/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/
H A DTestReplicationStateZKImpl.java40 import org.apache.hadoop.hbase.zookeeper.ZKConfig;
83 return ZKConfig.getZooKeeperClusterKey(testConf); in initPeerClusterState()
98 OUR_KEY = ZKConfig.getZooKeeperClusterKey(conf); in setUp()
H A DTestReplicationEndpoint.java45 import org.apache.hadoop.hbase.zookeeper.ZKConfig;
117 new ReplicationPeerConfig().setClusterKey(ZKConfig.getZooKeeperClusterKey(conf1)) in testCustomReplicationEndpoint()
159 new ReplicationPeerConfig().setClusterKey(ZKConfig.getZooKeeperClusterKey(conf1)) in testReplicationEndpointReturnsFalseOnReplicate()
211 new ReplicationPeerConfig().setClusterKey(ZKConfig.getZooKeeperClusterKey(conf2)) in testInterClusterReplication()
236 new ReplicationPeerConfig().setClusterKey(ZKConfig.getZooKeeperClusterKey(conf1)) in testWALEntryFilterFromReplicationEndpoint()
H A DTestReplicationStateBasic.java30 import org.apache.hadoop.hbase.zookeeper.ZKConfig;
205 assertEquals(KEY_ONE, ZKConfig.getZooKeeperClusterKey(rp.getPeerConf(ID_ONE).getSecond())); in testReplicationPeers()
/dports/databases/hbase/hbase-1.2.1/hbase-client/src/main/java/org/apache/hadoop/hbase/replication/
H A DReplicationStateZKBase.java28 import org.apache.hadoop.hbase.zookeeper.ZKConfig;
73 this.ourClusterKey = ZKConfig.getZooKeeperClusterKey(this.conf); in ReplicationStateZKBase()
/dports/databases/hbase/hbase-1.2.1/hbase-common/src/main/java/org/apache/hadoop/hbase/
H A DHBaseConfiguration.java32 import org.apache.hadoop.hbase.zookeeper.ZKConfig;
302 ZKConfig.ZKClusterKey zkClusterKey = ZKConfig.transformClusterKey(key); in applyClusterKeyToConf()
/dports/databases/hbase/hbase-1.2.1/hbase-common/src/main/java/org/apache/hadoop/hbase/zookeeper/
H A DZKConfig.java44 public final class ZKConfig { class
45 private static final Log LOG = LogFactory.getLog(ZKConfig.class);
52 private ZKConfig() { in ZKConfig() method in ZKConfig
92 ClassLoader cl = ZKConfig.class.getClassLoader(); in makeZKPropsFromZooCfg()
/dports/databases/hbase/hbase-1.2.1/hbase-shell/src/main/ruby/hbase/
H A Dreplication_admin.rb25 java_import org.apache.hadoop.hbase.zookeeper.ZKConfig
65 cluster_key = ZKConfig.getZooKeeperClusterKey(@configuration)
/dports/databases/hbase/hbase-1.2.1/hbase-server/src/main/java/org/apache/hadoop/hbase/util/
H A DServerRegionReplicaUtil.java36 import org.apache.hadoop.hbase.zookeeper.ZKConfig;
151 peerConfig.setClusterKey(ZKConfig.getZooKeeperClusterKey(conf)); in setupRegionReplicaReplication()
/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/auth/
H A DSaslQuorumAuthServer.java35 import org.apache.zookeeper.common.ZKConfig;
60 serverLogin = new Login(loginContext, saslServerCallbackHandler, new ZKConfig()); in SaslQuorumAuthServer()
H A DSaslQuorumAuthLearner.java38 import org.apache.zookeeper.common.ZKConfig;
68 new ZKConfig()); in SaslQuorumAuthLearner()
/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-server/src/main/java/org/apache/zookeeper/server/
H A DServerCnxnFactory.java34 import org.apache.zookeeper.common.ZKConfig;
273 login = new Login(serverSection, saslServerCallbackHandler, new ZKConfig()); in configureSaslLogin()
/dports/databases/hbase/hbase-1.2.1/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/
H A DTestRegionReplicaReplicationEndpoint.java56 import org.apache.hadoop.hbase.zookeeper.ZKConfig;
132 assertEquals(peerConfig.getClusterKey(), ZKConfig.getZooKeeperClusterKey( in testRegionReplicaReplicationPeerIsCreated()
166 assertEquals(peerConfig.getClusterKey(), ZKConfig.getZooKeeperClusterKey( in testRegionReplicaReplicationPeerIsCreatedForModifyTable()
/dports/databases/hbase/hbase-1.2.1/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/
H A DZKServerTool.java47 Properties zkProps = ZKConfig.makeZKProps(conf); in readZKNodes()

12