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

QuorumPeer does not listen on passed client IP in the constructor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.2
    • Component/s: server
    • Labels:
      None

      Description

      QuorumPeer does not listen on passed client IP in the constructor, for client connection. It always listens on all IP(0.0.0.0 or 0:0:0:0:0:0:0:0). This happens only when QuorumPeer is created using any of the bellow constructors

      org.apache.zookeeper.server.quorum.QuorumPeer.QuorumPeer(Map<Long,QuorumServer> quorumPeers, File snapDir,
                  File logDir, int clientPort, int electionAlg,
                  long myid, int tickTime, int initLimit, int syncLimit)
      
      org.apache.zookeeper.server.quorum.QuorumPeer.QuorumPeer(Map<Long,QuorumServer> quorumPeers, File snapDir,
                  File logDir, int clientPort, int electionAlg,
                  long myid, int tickTime, int initLimit, int syncLimit,
                  QuorumVerifier quorumConfig)
      

        Attachments

        1. ZOOKEEPER-2301-03.patch
          8 kB
          Mohammad Arshad
        2. ZOOKEEPER-2301-02.patch
          7 kB
          Mohammad Arshad
        3. ZOOKEEPER-2301-01.patch
          6 kB
          Mohammad Arshad

          Issue Links

            Activity

              People

              • Assignee:
                arshad.mohammad Mohammad Arshad
                Reporter:
                arshad.mohammad Mohammad Arshad
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: