Arshad Mohammad created ZOOKEEPER-2301:
------------------------------------------
Summary: 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
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)