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

QuorumPeer does not listen on passed client IP in the constructor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.5.2
    • server
    • 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-01.patch
          6 kB
          Mohammad Arshad
        2. ZOOKEEPER-2301-02.patch
          7 kB
          Mohammad Arshad
        3. ZOOKEEPER-2301-03.patch
          8 kB
          Mohammad Arshad

        Issue Links

          Activity

            People

              arshad.mohammad Mohammad Arshad
              arshad.mohammad Mohammad Arshad
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: