--
You received this message because you are subscribed to the Google Groups "CORD Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cord-discuss...@opencord.org.
To post to this group, send email to cord-d...@opencord.org.
Visit this group at https://groups.google.com/a/opencord.org/group/cord-discuss/.
To view this discussion on the web visit https://groups.google.com/a/opencord.org/d/msgid/cord-discuss/d92fb953-f25b-4ddb-835f-f58e63ee286d%40opencord.org.
For more options, visit https://groups.google.com/a/opencord.org/d/optout.
Hi Matteo,
Thanks for the reply.
Cord-kafka-zookeeper is running.
cord@cordmc:~$ kubectl get pods
NAME READY STATUS RESTARTS AGE
cord-kafka-0 0/1 CrashLoopBackOff 24 1h
cord-kafka-zookeeper-0 1/1 Running 0 1h
cord-kafka-zookeeper-1 1/1 Running 0 1h
cord-kafka-zookeeper-2 1/1 Running 0 1h
xos-chameleon-5b7d8f6bd6-nj85x 1/1 Running 0 15h
xos-core-6fffcf6976-jsh4d 1/1 Running 0 15h
xos-db-f9ddc6589-5hxz7 1/1 Running 0 15h
xos-gui-65cc477945-jjjkn 1/1 Running 0 15h
xos-redis-74c5cdc969-dcrwb 1/1 Running 0 15h
xos-tosca-6898f97c86-n78j8 1/1 Running 0 15h
xos-ws-7dcfc46b87-8xcsm 1/1 Running 0 15h
In the logs, I see that the connection was successful one time when sessionTimeout is 40000. But, when sessionTimeout is 6000, it timed out while CONNECTING.
[main] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=cord-kafka-zookeeper:2181 sessionTimeout=40000 watcher=io.confluent.admin.utils.ZookeeperConnectionWatcher@1ddc4ec2
[main-SendThread(cord-kafka-zookeeper.default.svc.cluster.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server cord-kafka-zookeeper.default.svc.cluster.local/10.101.126.60:2181. Will not attempt to authenticate using SASL (unknown error)
[main-SendThread(cord-kafka-zookeeper.default.svc.cluster.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to cord-kafka-zookeeper.default.svc.cluster.local/10.101.126.60:2181, initiating session
[main-SendThread(cord-kafka-zookeeper.default.svc.cluster.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Session establishment complete on server cord-kafka-zookeeper.default.svc.cluster.local/10.101.126.60:2181, sessionid = 0x165cf302b770001, negotiated timeout = 40000
[main] INFO org.apache.zookeeper.ZooKeeper - Session: 0x165cf302b770001 closed
[2018-09-12 19:17:43,471] INFO Initiating client connection, connectString=cord-kafka-zookeeper:2181 sessionTimeout=6000 watcher=kafka.zookeeper.ZooKeeperClient$ZooKeeperClientWatcher$@42a48628 (org.apache.zookeeper.ZooKeeper)
[2018-09-12 19:17:52,404] INFO [ZooKeeperClient] Waiting until connected. (kafka.zookeeper.ZooKeeperClient)
[2018-09-12 19:17:58,410] ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
kafka.zookeeper.ZooKeeperClientTimeoutException: Timed out waiting for connection while in state: CONNECTING
Should I increase zookeeper sessionTimeout time? If so, how do I do it?
I am not sure if it is failing due to other reasons.
Can you please help?
Regards,
Ashwini
Hi Teo,
I am running this on freshly installed Ubuntu 16.04 (AMD64).
--
You received this message because you are subscribed to a topic in the Google Groups "CORD Discuss" group.
To unsubscribe from this topic, visit
https://groups.google.com/a/opencord.org/d/topic/cord-discuss/w-9GgkZBnqo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
cord-discuss...@opencord.org.
To post to this group, send email to cord-d...@opencord.org.
Visit this group at
https://groups.google.com/a/opencord.org/group/cord-discuss/.
To view this discussion on the web visit https://groups.google.com/a/opencord.org/d/msgid/cord-discuss/CAFJ904C3hD8jqA9ef5dvVhTxh7yWGfQEWGLv8QT0wfX%2BC0iGMQ%40mail.gmail.com.
Hi,
I just added the 2 lines
"zookeeper.connection.timeout.ms": 60000
"zookeeper.session.timeout.ms": 60000
in examples/kafka-single.yaml file
And ran using “helm install -f examples/kafka-single.yaml --version 0.8.8 -n cord-kafka incubator/kafka” as mentioned in the guide.
From the logs, I saw that the connection was happening twice with sessionTimeout=40000 and sessionTimeout=6000 and the connection with sessionTimeout=40000 did not change with my changes. It got overridden for sessionTimeout=6000 case and I was able to install cord-kafka successfully.
Logs:
[main] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=cord-kafka-zookeeper:2181 sessionTimeout=40000 watcher=io.confluent.admin.utils.ZookeeperConnectionWatcher@1ddc4ec2
[main-SendThread(cord-kafka-zookeeper.default.svc.cluster.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server cord-kafka-zookeeper.default.svc.cluster.local/10.101.126.60:2181. Will not attempt to authenticate using SASL (unknown error)
[main-SendThread(cord-kafka-zookeeper.default.svc.cluster.local:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to cord-kafka-zookeeper.default.svc.cluster.local/10.101.126.60:2181, initiating session
:
[2018-09-12 19:17:43,471] INFO Initiating client connection, connectString=cord-kafka-zookeeper:2181 sessionTimeout=60000 watcher=kafka.zookeeper.ZooKeeperClient$ZooKeeperClientWatcher$@42a48628 (org.apache.zookeeper.ZooKeeper)
[2018-09-12 19:17:52,404] INFO [ZooKeeperClient] Waiting until connected. (kafka.zookeeper.ZooKeeperClient)
[2018-09-12 19:17:58,410] ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
Regards,
Ashwini
--
You received this message because you are subscribed to a topic in the Google Groups "CORD Discuss" group.
To unsubscribe from this topic, visit
https://groups.google.com/a/opencord.org/d/topic/cord-discuss/w-9GgkZBnqo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
cord-discuss...@opencord.org.
To post to this group, send email to cord-d...@opencord.org.
Visit this group at
https://groups.google.com/a/opencord.org/group/cord-discuss/.
To view this discussion on the web visit https://groups.google.com/a/opencord.org/d/msgid/cord-discuss/31515245-598e-48c9-9583-9e9b21cbc853%40opencord.org.
Hi,
The logs I sent before are for sessionTimeout=6000 case which failed. I do not have the success logs now but it did change to 60000 and cord-kafka installed successfully.
Regards,
Ashwini