Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4317

Unable to display brokerid

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.5.8
    • None
    • build
    • None
    • Important

    Description

      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

      Attachments

        1. server1_zookeeper.txt
          1 kB
          Koh Dareth

        Activity

          People

            Unassigned Unassigned
            dareth Koh Dareth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: