You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Arshad Mohammad (JIRA)" <ji...@apache.org> on 2015/12/06 22:23:10 UTC
[jira] [Updated] (ZOOKEEPER-2301) QuorumPeer does not listen on
passed client IP in the constructor
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arshad Mohammad updated ZOOKEEPER-2301:
---------------------------------------
Attachment: ZOOKEEPER-2301-03.patch
Thanks [~rgs] for your review comment. Compilation error in previous patch was because of {{QuorumPeerTest}} was added in java\main instead of java\test folder. Corrected the errors submitting new patch
> 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, ZOOKEEPER-2301-03.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)