[ https://issues.apache.org/jira/browse/ZOOKEEPER-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695123#action_12695123 ]
Flavio Paiva Junqueira commented on ZOOKEEPER-360: -------------------------------------------------- Following the link for test results, it shows that the following caused the error: java.lang.RuntimeException: java.net.BindException: Address already in use at org.apache.zookeeper.server.quorum.QuorumPeer.startLeaderElection(QuorumPeer.java:310) at org.apache.zookeeper.test.LETest.testLE(LETest.java:103) Caused by: java.net.BindException: Address already in use at java.net.PlainDatagramSocketImpl.bind0(Native Method) at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82) at java.net.DatagramSocket.bind(DatagramSocket.java:368) at java.net.DatagramSocket.<init>(DatagramSocket.java:210) at java.net.DatagramSocket.<init>(DatagramSocket.java:261) at java.net.DatagramSocket.<init>(DatagramSocket.java:234) at org.apache.zookeeper.server.quorum.QuorumPeer.startLeaderElection(QuorumPeer.java:306) and this patch doesn't change anything on ZooKeeper either, so the changes here are not the causing the failure. > WeakHashMap in Bookie.java causes NPE > ------------------------------------- > > Key: ZOOKEEPER-360 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-360 > Project: Zookeeper > Issue Type: Bug > Components: contrib-bookkeeper > Affects Versions: 3.1.1 > Reporter: Flavio Paiva Junqueira > Assignee: Flavio Paiva Junqueira > Fix For: 3.2.0 > > Attachments: ZOOKEEPER-BOOKKEEPER-360.patch > > > We need a strong reference to prevent a key in masterKeys on Bookie.java to > be garbage collected. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.