zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laxman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-1137) AuthFLE is throwing NPE when servers are configured with different election ports.
Date Wed, 03 Aug 2011 05:09:27 GMT

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

Laxman commented on ZOOKEEPER-1137:
-----------------------------------


Hi Flavio, quorum always fails to start if we configure different election ports. Also, I
already tried to adapt FLE Test to use Auth FLE but its failing randomly [May be due to UDP].
That was the reason for not adding a test. Patch has been verified manually by configuring
different ports. Quorum started with no issues after fix.

I will upload the patch including test case I've added. Please review and let me know what
I'm missing. So that I can correct it.

> AuthFLE is throwing NPE when servers are configured with different election ports.
> ----------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1137
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1137
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: leaderElection
>    Affects Versions: 3.3.3
>            Reporter: Laxman
>            Assignee: Laxman
>            Priority: Critical
>         Attachments: ZOOKEEPER-1137.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> AuthFLE is throwing NPE when servers are configured with different election ports.
> *Configuration*
> {noformat}
> server.1 = 10.18.52.25:2888:3888
> server.2 = 10.18.52.205:2889:3889
> server.3 = 10.18.52.144:2899:3890
> {noformat}
> *Logs*
> {noformat}
> 2011-07-22 16:06:22,404 - INFO  [QuorumPeer:/0:0:0:0:0:0:0:0:65170:AuthFastLeaderElection@844]
- Election tally
> 2011-07-22 16:06:29,483 - ERROR [WorkerSender Thread: 6:NIOServerCnxn$Factory$1@81] -
Thread Thread[WorkerSender Thread: 6,5,main] died
> java.lang.NullPointerException
> 	at org.apache.zookeeper.server.quorum.AuthFastLeaderElection$Messenger$WorkerSender.process(AuthFastLeaderElection.java:488)
> 	at org.apache.zookeeper.server.quorum.AuthFastLeaderElection$Messenger$WorkerSender.run(AuthFastLeaderElection.java:432)
> 	at java.lang.Thread.run(Thread.java:619)
> 2011-07-22 16:06:29,583 - ERROR [WorkerSender Thread: 1:NIOServerCnxn$Factory$1@81] -
Thread Thread[WorkerSender Thread: 1,5,main] died
> java.lang.NullPointerException
> {noformat}

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

        

Mime
View raw message