You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Koh Dareth (Jira)" <ji...@apache.org> on 2021/06/12 14:27:00 UTC
[jira] [Created] (ZOOKEEPER-4317) Unable to display brokerid
Koh Dareth created ZOOKEEPER-4317:
-------------------------------------
Summary: Unable to display brokerid
Key: ZOOKEEPER-4317
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4317
Project: ZooKeeper
Issue Type: Task
Components: build
Affects Versions: 3.5.8
Environment: i'm trying to build a 3 node cluster zookeeper with 3 node kafka cluster with 3 VMs
3VMs are 3x centos7.6 with 2GB ram
Server 1 - 192.100.100.120
server 2 - 192.100.100.122
server 3 - 192.100.100.123
server 1 is leader
Reporter: Koh Dareth
Attachments: server1_zookeeper.txt
i do have multiple issue and i'm new to the zookeeper cluster. i got this error when i try to communicate with the elected node and i had attached my [^server1_zookeeper.txt]
[root@XKAF101 bin]# ~/kafka/bin/zookeeper-shell.sh 0.0.0.0:2181 ls /brokers/ids
OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
Connecting to 0.0.0.0:2181
[2021-06-12 22:20:30,893] WARN Client session timed out, have not heard from server in 30030ms for sessionid 0x0 (org.apache.zookeeper.ClientCnxn)
KeeperErrorCode = ConnectionLoss for /brokers/ids
[root@XKAF101 bin]# netstat -an | grep 2181
tcp 0 0 0.0.0.0:2181 0.0.0.0:* LISTEN
tcp 0 0 192.100.100.120:51702 192.100.100.120:2181 TIME_WAIT
myid file "1" is in /root/kafka/data/zookeeper
--
This message was sent by Atlassian Jira
(v8.3.4#803005)