Return-Path: X-Original-To: apmail-zookeeper-dev-archive@www.apache.org Delivered-To: apmail-zookeeper-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 213957455 for ; Fri, 28 Oct 2011 10:02:55 +0000 (UTC) Received: (qmail 15796 invoked by uid 500); 28 Oct 2011 10:02:54 -0000 Delivered-To: apmail-zookeeper-dev-archive@zookeeper.apache.org Received: (qmail 15729 invoked by uid 500); 28 Oct 2011 10:02:54 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 15721 invoked by uid 99); 28 Oct 2011 10:02:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2011 10:02:54 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2011 10:02:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7EBA1324287 for ; Fri, 28 Oct 2011 10:00:32 +0000 (UTC) Date: Fri, 28 Oct 2011 10:00:32 +0000 (UTC) From: "Laxman (Commented) (JIRA)" To: dev@zookeeper.apache.org Message-ID: <1220150473.30759.1319796032520.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <153143396.11811.1311771798045.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (ZOOKEEPER-1137) AuthFLE is throwing NPE when servers are configured with different election ports. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ZOOKEEPER-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138203#comment-13138203 ] Laxman commented on ZOOKEEPER-1137: ----------------------------------- Thanks for taking a look at it Pat. As mentioned in my earlier comments I failed to write a test which passes consistently. Following are the patches already attached. ZOOKEEPER-1137.patch - Patch without testcase - Ready to commit - Verified manually ZOOKEEPER-1137.WithTest.patch - Patch with testcase - Test is failing intermittently Any suggestions? > 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.WithTest.patch, ZOOKEEPER-1137.patch, 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. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira