Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-14557

Kafka cannot connect to Zookeeper on Jenkins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.9-GA
    • None
    • Fuse EAP
    • None

      In Jenkins I see ...

      kafka: STDERR: [main] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=10.0.147.37:2181 sessionTimeout=40000 watcher=io.confluent.admin.utils.ZookeeperConnectionWatcher@cc34f4d
      kafka: STDERR: [main] INFO org.apache.zookeeper.common.X509Util - Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation
      kafka: STDERR: [main] INFO org.apache.zookeeper.ClientCnxnSocket - jute.maxbuffer value is 4194304 Bytes
      kafka: STDERR: [main] INFO org.apache.zookeeper.ClientCnxn - zookeeper.request.timeout value is 0. feature enabled=
      kafka: STDERR: [main-SendThread(10.0.147.37:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server ci-vm-10-0-147-37.hosted.upshift.rdu2.redhat.com/10.0.147.37:2181. Will not attempt to authenticate using SASL (unknown error)
      kafka: STDERR: [main-SendThread(10.0.147.37:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket error occurred: ci-vm-10-0-147-37.hosted.upshift.rdu2.redhat.com/10.0.147.37:2181: No route to host
      
      

       

      A successful connection log looks like this

       

      kafka: STDERR: [main] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=192.168.0.30:2181 sessionTimeout=40000 watcher=io.confluent.admin.utils.ZookeeperConnectionWatcher@cc34f4d
      kafka: STDERR: [main] INFO org.apache.zookeeper.common.X509Util - Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation
      kafka: STDERR: [main] INFO org.apache.zookeeper.ClientCnxnSocket - jute.maxbuffer value is 4194304 Bytes
      kafka: STDERR: [main] INFO org.apache.zookeeper.ClientCnxn - zookeeper.request.timeout value is 0. feature enabled=
      kafka: STDERR: [main-SendThread(192.168.0.30:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server MacBook3.fritz.box/192.168.0.30:2181. Will not attempt to authenticate using SASL (unknown error)
      kafka: STDERR: [main-SendThread(192.168.0.30:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established, initiating session, client: /172.17.0.3:53654, server: MacBook3.fritz.box/192.168.0.30:2181
      kafka: STDERR: [main-SendThread(192.168.0.30:2181)] INFO org.apache.zookeeper.ClientCnxn - Session establishment complete on server MacBook3.fritz.box/192.168.0.30:2181, sessionid = 0x100174b91020000, negotiated timeout = 40000
      kafka: STDERR: [main] INFO org.apache.zookeeper.ZooKeeper - Session: 0x100174b91020000 closed
      
      

            Unassigned Unassigned
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: