apache-zookeeper

Kafka SASL/PLAIN Setup with SSL

喜你入骨 提交于 2019-12-14 03:51:49
问题 I'm trying to configure SASL/PLAIN with SSL in our Kafka environment. The SSL part is done, but I'm running into the below error when starting the Zookeeper. Has anyone configured SASL/PLAIN with SSL for Zookeeper and broker ? Server-Broker Config broker.id=19 port=19001 #host.name=localhost host.name=jcia9081 #advertised.host.name=11.72.29.153 num.network.threads=3 num.io.threads=8 socket.send.buffer.bytes=102400 socket.receive.buffer.bytes=102400 socket.request.max.bytes=104857600 log.dirs=

Servicemix 4, DOSGi, and Zookeeper

萝らか妹 提交于 2019-12-13 12:14:52
问题 This is cross posted from the fusesource forum and the servicemmix forum. I can't get DOSGi working in FUSE. I'm trying to get CXF's DOSGi 1.1-SNAPSHOT with Zookeeper discovery onto FUSE 4.1.0.2. I'm also using Zookeepr 3.2.1. Everything works perfectly on Felix 2.0.0. I just follow the instructions on the DOSGi Discovery page and then install the Discovery Demo bundles. For DOSGi, I just use the cxf-dosgi-ri-singlebundle-distribution-1.1-SNAPSHOT.jar for DSW and cxf-dosgi-ri-discovery

Zookeeper timeouts without error in zookeeper Solr

一笑奈何 提交于 2019-12-13 04:13:18
问题 We are facing issue with solr/zookeeper where zookeeper timeouts after 10000ms. Error below. SolrException: java.util.concurrent.TimeoutException: Could not connect to ZooKeeper <server1>:9181,<server2>:9182,<server2>:9183 within 10000 ms. at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:184) at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:121) We are not getting any error in zookeeper logs.Except below logs 2018-12-19 04:35:22,305 [myid:2] - INFO

how to invalidate sessions in jetty Hazelcast?

不羁的心 提交于 2019-12-13 03:56:00
问题 I am using hazelcast 3.6.3 in jetty 9.4.8 for session replication and we would like to invalidate multiple sessions based on a separate JMS message. the hazelcast config is (using zookeeper for peer discovery) Config config = new Config(); config.setInstanceName(HAZELCAST_INSTANCE_NAME); // logger config config.setProperty("hazelcast.logging.type", "slf4j"); // config for session map MapConfig sessionMapConfig = new MapConfig(); sessionMapConfig.setName(SESSION_MAP_NAME) .setBackupCount(2);

SchedulerStateManagerAdaptor failed to fetch data from zookeeper path in Heron Cluster

泪湿孤枕 提交于 2019-12-13 03:35:57
问题 In Heron, I instantiated a SchedulerStateManagerAdaptor named adaptor using IStateManager and created a new Runtime config to saved this adaptor. Then, I created a ISchedulerClient object for invoking its schedulerClient.updateTopology function. Code as follows: String stateMgrClass = Context.stateManagerClass(this.config); // get state manager instance IStateManager stateMgr = null; try { stateMgr = ReflectionUtils.newInstance(stateMgrClass); FileUtils.writeToFile(filename, "Create

Error when submit topology in Nimbus

空扰寡人 提交于 2019-12-13 02:47:09
问题 The error i had when submit a topology java.net.ConnectException: Connection refused at backtype.storm.utils.NimbusClient.<init>(NimbusClient.java:36) at backtype.storm.utils.NimbusClient.getConfiguredClient(NimbusClient.java:17) This what i got in nimbus log file 2015-09-22 04:19:58 ClientCnxn [INFO] Socket connection established to localhost/127.0.0.1:2181, initiating session 2015-09-22 04:20:13 ConnectionState [ERROR] Connection timed out org.apache.zookeeper.KeeperException

Zoopekeeper instances in Kafka

為{幸葍}努か 提交于 2019-12-13 01:27:03
问题 I have 3 nodes where Kafka is installed. All these 3 nodes have their own zookeeper instances. Are 3 zookeeper instances required or is 1 zookeeper instance suffice? Should we have multiple zookeeper instances for fault tolerance & in such a scenario would one of the instances act as primary and would others be replica? 回答1: I'm not sure what you mean by "All these 3 nodes have their own zookeeper instances" Basically you should have a single cluster of one, three or five Zookeeper instances

accumulo, zookeeper hadoop Installation instructions, downloads and versions for CENTOS 6

99封情书 提交于 2019-12-12 21:12:38
问题 I would appreciate guidance on accumulo, zookeeper hadoop Installation instructions, downloads and versions for CENTOS 6. Thanks, Chris 回答1: You can do the installation via cloudera manager version 5. I recently installed accumulo using the same. Here is the link for Cloudera manager 5. You can use this Youtube video as reference. 来源: https://stackoverflow.com/questions/21594680/accumulo-zookeeper-hadoop-installation-instructions-downloads-and-versions-for

Zookeeper missed events on successive changes

筅森魡賤 提交于 2019-12-12 20:56:31
问题 I currently have a setup with a single zookeeper node and Curator to access the data. Reading data is done through a Curator TreeCache. I have the following test: public void test_callback_successive_changes_success_global_new_version() throws InterruptedException { ZookeeperTestsHelper.createNewNodeInZookeeperSingleCommand("/my/path/new_node", "some string4", curator); ZookeeperTestsHelper.createNewNodeInZookeeperSingleCommand("/my/path/new_node", "some string5", curator); Thread.sleep(1000)

Zookeeper multiple collection different schema

懵懂的女人 提交于 2019-12-12 20:17:42
问题 I have a zookeeper instance (Solr integrated version) with 3 collections. Each collection has a different schema.xml in it's conf directory. Zookeeper starts sucessfully - the goal is to do a distributed search across the different collections. My problem is that when I look at the schema of collection2 and collection3 via the admin tool they both appear to be using collection1 schema. So I cannot update collections 2 & 3 as they are missing their correct fields. I have tried each of the