Connection refused

Apache's JIRA Issue Tracker | Kerem Yazici | 3 months ago
  1. 0

    We have 5 node ensemble setup in our tst environment and we are seeing the error below on two of the nodes. We have 3 nodes on the first data centre and 2 nodes on the second data centre and all of them are managed by exhbitor. The problem is that the nodes from the same data centres cannot talk to the leader node on the same data centre but can talk to the other nodes without any issue. If I bounce the leader node to force another node to get elected then the other nodes that are on the same data centre start throwing the below exception. I'm sure the problem is with the dns name resolution but I would like to understand how zookeeper resolves these dns names and what might be the issue here so I can go back to our unix team and get this fixed. {code} 2016-07-19 10:48:54,711 [myid:4] - WARN [WorkerSender[myid=4]:QuorumCnxManager@400] - Cannot open channel to 5 at election address Connection refused at Method) at at at at at at org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne( at org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend( at org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.process(Fast at org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$ at {code} {code:title=zoo.cfg|borderStyle=solid} #Auto-generated by Exhibitor - Fri Jul 15 11:30:52 BST 2016 #Fri Jul 15 11:30:52 BST 2016\:4881\:4882\:observer autopurge.purgeInterval=4\:4881\:4882 initLimit=50 syncLimit=2 clientPort=4880 tickTime=2001\:4881\:4882 dataDir=/opt/app/datafabric/data/zookeeper\:4881\:4882 dataLogDir=/path/to/datalogdir\:4881\:4882 ~ {code}

    Apache's JIRA Issue Tracker | 3 months ago | Kerem Yazici Connection refused
  2. 0

    Exception and throwable not being caught

    Stack Overflow | 1 year ago | Arya
    driver.version: RemoteWebDriver
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 62#144899449

    GitHub | 1 year ago | ziploc1010 Failed to open thrift connection to Cassandra at
  5. 0

    Can't run cassandra stress tool

    Stack Overflow | 1 year ago | user3726031
    java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Connection refused
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis


    Connection refused

  2. Java RT
    1. Method)
    6 frames
  3. Zookeeper
    1. org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(
    2. org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(
    2 frames