[
https://issues.apache.org/jira/browse/ZOOKEEPER-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044135#comment-15044135
]
Raul Gutierrez Segales commented on ZOOKEEPER-2301:
---------------------------------------------------
(also, there's some extra white space and tabs.. you can see them via git diff
--color-words ...)
> QuorumPeer does not listen on passed client IP in the constructor
> -----------------------------------------------------------------
>
> Key: ZOOKEEPER-2301
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2301
> Project: ZooKeeper
> Issue Type: Bug
> Components: server
> Reporter: Arshad Mohammad
> Assignee: Arshad Mohammad
> Fix For: 3.5.2
>
> Attachments: ZOOKEEPER-2301-01.patch, ZOOKEEPER-2301-02.patch
>
>
> 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
> {code}
> 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)
> {code}
> {code}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)