[
https://issues.apache.org/jira/browse/ZOOKEEPER-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044403#comment-15044403
]
Hudson commented on ZOOKEEPER-2301:
-----------------------------------
SUCCESS: Integrated in ZooKeeper-trunk #2822 (See
[https://builds.apache.org/job/ZooKeeper-trunk/2822/])
ZOOKEEPER-2301: QuorumPeer does not listen on passed client IP in the
constructor
(Arshad Mohammad via rgs) (rgs:
[http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1718251])
* trunk/CHANGES.txt
* trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java
* trunk/src/java/test/org/apache/zookeeper/server/quorum/QuorumPeerTest.java
* trunk/src/java/test/org/apache/zookeeper/test/TruncateTest.java
> 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)