apache-zookeeper

I need my Spring Boot WebApplication to restart in JUnit

拟墨画扇 提交于 2019-12-19 08:19:10
问题 Without going into excruciating detail, I am having an issue when I run my Junit tests all at once. If I run them class by class, everything is great! Otherwise I have trouble because I cannot restart my WebApplication inbetween junit-test-class. This causes me to have Zookeeper server clients in my WebApplication that hang around after I go through the shutdown and startup of the Zookeeper server in-between classes. Those Zookeeper server clients can take a while to resync with server and

ZooKeeper exists failed after 3 retries

非 Y 不嫁゛ 提交于 2019-12-19 08:05:13
问题 I am running Hadoop-1.2.1 and HBase-0.94.11 in a pseudo-distributed mode. Due to power failure Hadoop and HBase set up went down.Next time when I restarted my machine and the pseudo-distribution set up, HBase stopped working with the following errors on HBase shell: 13/11/27 13:53:27 ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retries 13/11/27 13:53:27 WARN zookeeper.ZKUtil: hconnection Unable to set watcher on znode (/hbase/hbaseid) org.apache.zookeeper

Kafka + Zookeeper: Connection to node -1 could not be established. Broker may not be available

馋奶兔 提交于 2019-12-19 05:05:12
问题 I am running in my locahost both Zookeeper and Kafka (1 instance each). I create succesfully a topic from kafka: ./bin/kafka-topics.sh --zookeeper localhost:2181 --create --replication-factor 1 --partitions 1 --topic Hello-Nicola Created topic "Hello-Nicola". Kafka logs show: [2017-12-06 16:00:17,753] INFO [KafkaServer id=0] started (kafka.server.KafkaServer) [2017-12-06 16:03:19,347] INFO [ReplicaFetcherManager on broker 0] Removed fetcher for partitions Hello-Nicola-0 (kafka.server

What exactly is the zookeeper quorum setting in hbase-site.xml?

一个人想着一个人 提交于 2019-12-18 14:09:28
问题 What exactly is the zookeeper quorum setting in hbase-site.xml? 回答1: As described in hbase-default.xml, here's the setting: Comma separated list of servers in the ZooKeeper Quorum. For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com". By default this is set to localhost for local and pseudo-distributed modes of operation. For a fully-distributed setup, this should be set to a full list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in hbase-env.sh this is the list

Rebalancing issue while reading messages in Kafka

你离开我真会死。 提交于 2019-12-18 12:16:32
问题 I am trying to read messages on Kafka topic, but I am unable to read it. The process gets killed after sometime, without reading any messages. Here is the rebalancing error which I get: [2014-03-21 10:10:53,215] ERROR Error processing message, stopping consumer: (kafka.consumer.ConsoleConsumer$) kafka.common.ConsumerRebalanceFailedException: topic-1395414642817-47bb4df2 can't rebalance after 4 retries at kafka.consumer.ZookeeperConsumerConnector$ZKRebalancerListener.syncedRebalance

Can Mesos 'master' and 'slave' nodes be deployed on the same machines?

≯℡__Kan透↙ 提交于 2019-12-18 10:26:12
问题 Can Apache Mesos 'master' nodes be co-located on the same machine as Mesos 'slave' nodes? Similarly (for high-availability (HA) deploys), can the Apache Zookeeper nodes used in Mesos 'master' election be deployed on the same machines as Mesos 'slave' nodes? Mesos recommends 3 'masters' be used for HA deploys, and Zookeeper recommends 5 nodes be used for its quorum election system. It would be nice to have these services running along side Mesos 'slave' processes instead of committing 8

Kafka 1.0 stops with FATAL SHUTDOWN error. Logs directory failed

拈花ヽ惹草 提交于 2019-12-17 22:50:27
问题 I have just upgraded to Kafka 1.0 and zookeeper 3.4.10.At first, it all started fine. Stand - alone producer and consumer worked as expected. After I've ran my code for about 10 minutes, Kafka fails with this error: [2017-11-07 16:48:01,304] INFO Stopping serving logs in dir C:\Kafka\kafka_2.12-1.0.0\kafka-logs (kafka.log.LogManager) [2017-11-07 16:48:01,320] FATAL Shutdown broker because all log dirs in C:\Kafka\kafka_2.12-1.0.0\kafka-logs have failed (kafka.log.LogManager) I have

Zookeeper error: Cannot open channel to X at election address

泪湿孤枕 提交于 2019-12-17 22:33:01
问题 I have installed zookeeper in 3 different aws servers. The following is the configuration in all the servers tickTime=2000 initLimit=10 syncLimit=5 dataDir=/var/zookeeper clientPort=2181 server.1=x.x.x.x:2888:3888 server.2=x.x.x.x:2888:3888 server.3=x.x.x.x:2888:3888 All the three instance have a myid file at var/zookeeper with appropriate id in it. All the three servers have all ports open from the aws console. But when I run the zookeeper server, I get the following error in all the

what is zookeeper port and its usage?

萝らか妹 提交于 2019-12-17 18:27:56
问题 I am quite new for zookeeper port through which I am coming across from past few days. I introduced with zookeeper port keyword at two occasion: while configuring neo4j db cluster (link) and while running compiled voltdb catalog (link) (See Network Configuration Arguments) Then, I came across Apache Zookeeper, (which I guess is related to distributed application, I am a newbie in distributed application as well). hence question came in my mind: is there any implementation of apache zookeeper

Access virtual box hbase from windows java application

那年仲夏 提交于 2019-12-14 04:12:20
问题 Hi i am new to hbase and trying to practice it. First of all i would like to describe about system configuration. BACKGROUND: I am using Windows 7 and installed Oracle Virtual Box. Then installed ubuntu server on Virtual Box after that I installed hbase0.98-hadoop2-bin.tar.gz on ubuntu. I have configured hbase in standalone mode. My hbase-site.xml file is like: <Configuration> <property> <name>hbase.rootdir</name> <value>file:///home/abc/hbase</value> </property> <property> <name>hbase