[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038572#comment-13038572
 ] 

Bhallamudi Venkata Siva Kamesh commented on ZOOKEEPER-1054:
-----------------------------------------------------------

I verified the solution by doing manual testing in the following way

1) I am running zookeeper cluster, having following machines 
   {noformat} 
server.1=10.18.52.146:2888:3888 
server.2=10.18.52.124:2888:3888 
server.3=10.18.52.112:2888:3888 
   {noformat} 

2) Running another zookeeper(203), having following cluster configuration
   {noformat} 
server.1=10.18.52.203:2888:3888 
server.2=10.18.52.146:2888:3888 
server.3=10.18.52.118:2888:3888 
   {noformat} 

3) With the above configuration, it is clear that 203 machine tries to connect 
146 machine during leader election.As 203 machine is not part of the current 
cluster configuration,connection request will be ignored by 146 machine and log 
the following information as warning. 
{noformat} 
2011-05-23 14:22:35,368 [myid:1] - WARN 
[/10.18.52.146:3888:QuorumCnxManager$Listener@512] - Received connection 
request from /10.18.52.203:47553, which is not configured in the zoo.cfg,so, 
dropping the connection. 
{noformat} 

> Zookeeper logs are filled with INFO messages 
> ---------------------------------------------
>
>                 Key: ZOOKEEPER-1054
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1054
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: leaderElection
>            Reporter: Bhallamudi Venkata Siva Kamesh
>            Assignee: Bhallamudi Venkata Siva Kamesh
>            Priority: Minor
>              Labels: security
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-1054-1.patch, ZOOKEEPER-1054.patch
>
>
> Let us suppose zookeeper cluster is running in the following machines
> {noformat}
> server.1=10.18.52.133:2999:3999
> server.2=10.18.52.253:2999:3999
> server.3=10.18.52.96:2999:3999
> {noformat}
> Let us take another zookeeper(10.18.52.109),which is not part of the cluster 
> configuration, tries to participate in the leader election,then one of the 
> zookeeper server's log is filled with following INFO messages
> {noformat}
> 2011-04-19 17:42:42,457 - INFO  
> [/10.18.52.133:3999:QuorumCnxManager$Listener@486] - Received connection 
> request /10.18.52.109:18324
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to